Comment
Comment
Check your path part 2 :)
Posted by: djflux at 2004-02-19If 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 chooseProperties
- Click on the
Advanced
Tab - Click on the
Environment Variables
button - In the
System variables
box click onPath
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.