Import Zope Problem in Zope's Python
Hi, having installed zope 2.6.2 on winXP my pythonpath contains: L:\Zope\Zope262\bin;L:\Zope\Zope262\bin\lib;L:\Zope\Zope262\bin\DLLs;L:\Zope \Zope262\bin\lib\lib-tk;L:\Zope\Zope262\bin\Pythonwin;L:\Zope\Zope262\lib\py thon;L:\Zope\Zope262\lib\python\ZTUtils But still I cannot import Zope in the IDE or Command-Window despite the Browse Tool finds zope.py in ZTUtils. What can be the problem? All Modules from L:\Zope\Zope262\lib\python are not found via import. I am quite clueless what to do? Does anybody know more? Thanks for your replies, --Elena
Elena Schulz wrote at 2003-6-17 13:14 +0200:
having installed zope 2.6.2 on winXP my pythonpath contains:
L:\Zope\Zope262\bin;L:\Zope\Zope262\bin\lib;L:\Zope\Zope262\bin\DLLs;L:\Zope \Zope262\bin\lib\lib-tk;L:\Zope\Zope262\bin\Pythonwin;L:\Zope\Zope262\lib\py thon;L:\Zope\Zope262\lib\python\ZTUtils
But still I cannot import Zope in the IDE or Command-Window despite the Browse Tool finds zope.py in ZTUtils. What can be the problem? All Modules from L:\Zope\Zope262\lib\python are not found via import.
Many of them require that ZODB is imported first. Does your IDE tell you something about the kind of problem it has with the import? Dieter
Hi Dieter,
Many of them require that ZODB is imported first.
Does your IDE tell you something about the kind of problem it has with the import?
Nothing than a dry: Traceback (most recent call last): File "<interactive input>", line 1, in ? ImportError: No module named zope I tried that with ZODB or many of the modules in myZope\lib\python\ all with the same result (ZOPE or zope makes no difference). Really strange. What could I do else? -- Elena
participants (2)
-
Dieter Maurer -
Elena Schulz