Public bug reported:

It appears the requests package for python3 has some sort of issue:

root@blubber:/home/jennabot/jennabot# apt-get install python3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python3 is already the newest version.
python3 set to manually installed.
The following packages were automatically installed and are no longer required:
  libnss3-1d linux-headers-3.13.0-36 linux-headers-3.13.0-36-generic
  linux-headers-3.13.0-37 linux-headers-3.13.0-37-generic
  linux-image-3.13.0-36-generic linux-image-3.13.0-37-generic
  linux-image-extra-3.13.0-36-generic linux-image-extra-3.13.0-37-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
root@blubber:/home/jennabot/jennabot# python3 -c "import requests"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named 'requests'
root@blubber:/home/jennabot/jennabot#

The python2 variant works fine:

root@blubber:/home/jennabot/jennabot# python2.7 -c "import requests"
root@blubber:/home/jennabot/jennabot#

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python3-requests 2.2.1-1ubuntu0.1
ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
Uname: Linux 3.13.0-35-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
Date: Tue Nov 11 16:31:00 2014
InstallationDate: Installed on 2012-04-11 (944 days ago)
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Beta amd64 
(20120327)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: requests
UpgradeStatus: Upgraded to trusty on 2014-08-29 (73 days ago)

** Affects: requests (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to requests in Ubuntu.
https://bugs.launchpad.net/bugs/1391554

Title:
  python3-requests installed, import requests fails anyway

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/requests/+bug/1391554/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to