Ticket #2873 defect closed worksforme

Opened 6 years ago

Last modified 6 years ago

"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

build.txt Download (209.7 KB) - added by robsteele 6 years ago.
Details

Change History

Changed 6 years ago by robsteele

Details

1

Changed 6 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.

2

Changed 6 years ago by exarkun

  • status changed from new to closed
  • resolution set to worksforme

3

Changed 2 years ago by <automation>

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