Opened 15 years ago

Closed 15 years ago

#2873 defect closed worksforme (worksforme)

"ImportError: No module named web" under CentOS 5.0-x86_64

Reported by: robsteele Owned by:
Priority: normal Milestone:
Component: web Keywords:
Cc: Branch:


Python 2.4.3 (#1, Mar 14 2007, 19:01:42) 
[GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import twisted
>>> import twisted.web
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named web

Attachments (1)

build.txt (209.7 KB) - added by robsteele 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by robsteele

Attachment: build.txt added


comment:1 Changed 15 years ago by Jean-Paul Calderone

CentOS seems to have the same distutils misconfiguration as RedHat.

If you pass --install-lib /usr/lib/python2.4/site-packages the misconfigured defaults may be overridden.

Alternatively, you can manually move the files out of the lib64 site-packages into the corresponding lib site-packages and delete the twisted directory in the lib64 site-packages.

comment:2 Changed 15 years ago by Jean-Paul Calderone

Resolution: worksforme
Status: newclosed

comment:3 Changed 11 years ago by <automation>

Owner: jknight deleted
Note: See TracTickets for help on using tickets.