You are not logged in Log in Join
You are here: Home » Members » djflux's Home » Overview - ADSGroupsFolder » Check your path part 2 :) » discussionitem_view

Log in
Name

Password

 

Comment

Comment

Discussion icon Check your path part 2 :)

Posted by: djflux at 2004-02-19

If you are using another Zope version, make sure that the directory which contains pythoncom.py is in your Windows path. You can add the directory to your system-wide path by:

  • Right-clicking on My Computer and choose Properties
  • Click on the Advanced Tab
  • Click on the Environment Variables button
  • In the System variables box click on Path and then click edit.
  • Add the full path to the folder which contains pythoncom.py
  • Click OK until you are back to your desktop
  • Restart Zope

You can also manually test to see if python can find pythoncom.py by double clicking on python.exe in %ZOPEROOT%\bin and then trying to import the module:

>>> import pythomcom

If you get no error, then Zope should start just fine.