![](https://secure.gravatar.com/avatar/fba4b1ec2535b55189d1de44e4b5121a.jpg?s=120&d=mm&r=g)
29 Oct
2007
29 Oct
'07
7:49 a.m.
On Oct 28, 2007, at 6:14 PM, aaron smith wrote:
quick newb question. I installed twisted from source on mac os x leopard. When I run:
python import twisted from twisted.web import http
I get an ImportError: ImportError: No module named web
Unfortunately there is an incomplete distribution of twisted 2.4 in / System/Library/Frameworks Your source install likely went into /Library/Python/2.5/site- packages/ which is also unfortunately after /System/Library/ Frameworks in the PYTHONPATH. Put /Library/Python/2.5/site-packages/ at the front of your PYTHONPATH. -David