modules installed via python-setuptools cannot be imported from command-line

Bug #540000 reported by saidimu apale
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-setuptools (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-setuptools

The following commands don't results in a module being successfully imported into python command-line:

$ sudo easy_install gearman
$ python
>>> import gearman
ImportError: No module named gearman

The problem seems to be permissions related: changing the permissions of the installed modules location (/usr/local/lib/python2.6/dist-packages) and making it readable by everyone fixes it. The default permissions are readable to root only).

The problem seems to be there for any module which installs to /usr/local/lib/python2.6/dist-packages (so far all the 5 I have tried).

saidimu

ProblemType: Bug
Architecture: amd64
Date: Tue Mar 16 20:57:30 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: python-setuptools 0.6c9-0ubuntu5
PackageArchitecture: all
ProcEnviron:
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.57-generic
SourcePackage: python-setuptools
Uname: Linux 2.6.31-20-generic x86_64

Revision history for this message
saidimu apale (saidimu) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.