[MacPorts] #54264: py27-requests @2.16.5_0: "import requests" fails with "ImportError: No module named urllib3"
MacPorts
noreply at macports.org
Wed May 31 22:46:38 UTC 2017
#54264: py27-requests @2.16.5_0: "import requests" fails with "ImportError: No
module named urllib3"
-----------------------------+-------------------------
Reporter: usernamedefault | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Keywords: | Port: py-requests
-----------------------------+-------------------------
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
>>>
}}}
--
Ticket URL: <https://trac.macports.org/ticket/54264>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list