ImportError: cannot import name 'HTTPConnection'

Bug #1393042 reported by Matthieu Baerts
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
awscli (Debian)
Fix Released
Unknown
awscli (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hello,

When launching AWS-cli on Ubuntu Vivid, here is what I have:

   $ aws
Traceback (most recent call last):
  File "/usr/bin/aws", line 15, in <module>
    import awscli.clidriver
  File "/usr/share/awscli/awscli/clidriver.py", line 16, in <module>
    import botocore.session
  File "/usr/lib/python3/dist-packages/botocore/session.py", line 29, in <module>
    from botocore.endpoint import EndpointCreator
  File "/usr/lib/python3/dist-packages/botocore/endpoint.py", line 28, in <module>
    from botocore.awsrequest import AWSRequest
  File "/usr/lib/python3/dist-packages/botocore/awsrequest.py", line 27, in <module>
    from requests.packages.urllib3.connection import HTTPConnection
ImportError: cannot import name 'HTTPConnection'

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: awscli 1.4.2-1
ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
Uname: Linux 3.16.0-24-generic x86_64
ApportVersion: 2.14.7-0ubuntu10
Architecture: amd64
CurrentDesktop: GNOME
Date: Sat Nov 15 18:12:06 2014
InstallationDate: Installed on 2014-07-26 (112 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140725)
PackageArchitecture: all
SourcePackage: awscli
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Matthieu Baerts (matttbe) wrote :
Revision history for this message
Matthieu Baerts (matttbe) wrote :

I guess this bug is linked to this Debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769685
(but here it's with an older version)

Changed in awscli (Debian):
status: Unknown → New
Changed in awscli (Debian):
status: New → Fix Released
Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

I can't reproduce this on 1.7.0-1. Since this is a so much higher version than when you tested and reported it, I'll assume it's fixed now, but please reopen if you can still reproduce the problem with 1.7.0-1.

Changed in awscli (Ubuntu):
status: New → Fix Released
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.