[Bug 715766] [NEW] ImportError: no module named serial

Launchpad Bug Tracker 715766 at bugs.launchpad.net
Tue Mar 8 22:28:10 UTC 2011


You have been subscribed to a public bug by Andreas Moog (amoog):

python-serial is installed under /usr/share/pyshared, which is not in
python(2.7)'s search path. Thus it can't be imported.

The following works around the problem:
import sys
sys.path.append('/usr/share/pyshared')

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: python-serial 2.5-1
ProcVersionSignature: Ubuntu 2.6.38-2.29-generic 2.6.38-rc3
Uname: Linux 2.6.38-2-generic x86_64
Architecture: amd64
Date: Wed Feb  9 14:38:21 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_IE.utf8
 LC_MESSAGES=en_US.utf8
 SHELL=/bin/bash
SourcePackage: pyserial

** Affects: pyserial (Ubuntu)
     Importance: Low
         Status: Confirmed


** Tags: amd64 apport-bug natty
-- 
ImportError: no module named serial
https://bugs.launchpad.net/bugs/715766
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list