Opened 7 years ago

Closed 7 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:
Author: Launchpad Bug:

Description

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 7 years ago.
Details

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by robsteele

Details

comment:1 Changed 7 years ago by exarkun

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 7 years ago by exarkun

  • Resolution set to worksforme
  • Status changed from new to closed

comment:3 Changed 4 years ago by <automation>

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