Run this:
import sys print sys.path
['', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python23.zip', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.3/Extras/lib/python']
cd Library/Python/2.3/site-packages/ $ python
import twisted
import twisted.web
I've tried what you suggested previously with the PYTHONPATH as well.
It still works partially, but then fails on zope.interface. (which I
did install). It just seems like there are some crazy complications
that I can't figure out. dah!
thanks for help man.
On Nov 8, 2007 12:00 PM, Dmitry Kozhevin
ImportError: No module named web
Run this:
import sys print sys.path
And email me what you get.
And one more, cd Library/Python/2.3/site-packages/ $ python
import twisted
_______________________________________________ Twisted-web mailing list Twisted-web@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web