Comment
Comment
can you explain something for me ?
Posted by: danch at 2004-02-12I already do all things follow your intrustion but when I start my zope it always have error, can you explain for me ?
my error : File : d:\..\ADSGroupsFolder\com.py, line 1, in ? importError: No mudule named pythoncom
I start my zope's service by command in Windows 2000 advanced server, service pack 4 Thank you.
Comment
Check your path
Posted by: djflux at 2004-02-19Python can't find the pythoncom module in your path. Make sure that the pythoncom.py module is somewhere in your PYTHONPATH. I'm using Zope-2.7.0b3 on my production server and pythoncom.py is located in %ZOPEROOT%\bin\Lib\site-packages.
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.