Opened 7 years ago

Closed 7 years ago

#54264 closed defect (fixed)

py27-requests @2.16.5_0: "import requests" fails with "ImportError: No module named urllib3"

Reported by: usernamedefault Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc: stromnov@…
Port: py-requests

Description

Terminal output follows: failure w/ py27-requests @2.16.5_0, success w/ py27-requests @2.14.2_0


Fails:

--->  Deactivating py27-requests @2.14.2_0
--->  Cleaning py27-requests
--->  Activating py27-requests @2.16.5_0
mac:~ user$ python
Python 2.7.13 (default, Apr 23 2017, 16:50:35) 
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/__init__.py", line 48, in <module>
    import urllib3
ImportError: No module named urllib3

Successful:

--->  Deactivating py27-requests @2.16.5_0
--->  Cleaning py27-requests
--->  Activating py27-requests @2.14.2_0
mac:~ user$ python
Python 2.7.13 (default, Apr 23 2017, 16:50:35) 
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> 

Change History (1)

comment:1 Changed 7 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed

This should be fixed with the newest update by Andrew.

Note: See TracTickets for help on using tickets.