Public bug reported:

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: Undecided
         Status: New


** Tags: amd64 apport-bug natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/715766

Title:
  ImportError: no module named serial

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to