[Twisted-Python] Problem with installing twisted 13.0 with Python 2.7 on 64 bit Win 7

Tim Allen screwtape at froup.com
Tue Jun 18 02:07:37 MDT 2013


On Tue, Jun 18, 2013 at 04:12:17PM +1000, Weikai (Victor) Xie wrote:
> >>> import twisted
> >>> twisted.web
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> AttributeError: 'module' object has no attribute 'web'

I believe that's just how packages work in Python. On a Linux machine
I have handy:

>>> import twisted
>>> twisted.web
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'web'
>>> import twisted.web
>>> twisted.web
<module 'twisted.web' from '/usr/lib64/python2.6/site-packages/twisted/web/__init__.pyc'>




More information about the Twisted-Python mailing list