ImportError No module named 'socks' in Python3.4
envgap__twilio__twilio-python-194
01 / FAILURE SIGNATURE
As reported upstream
ImportError: No module named 'httplib2.socks'
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
3da4145385d73ed44b50ac61dde1f9ce01adc92d- Manifest
setup.py- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
twilio/twilio-python #194 · read the original issue
Looks like the relevant code is here: https://github.com/twilio/twilio-python/blob/master/twilio/rest/resources/imports.py#L20 Running those commands by hand: ``` Python 3.4.0 (default, Apr 11 2014, 13:05:11) [GCC 4.8.2] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import httplib2 >>> from httplib2 import socks >>> from httplib2.socks import PROXY_TYPE_SOCKS4 Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named 'httplib2.socks' ``` And unfortunately the code in the except block also fails: ``` >>> import socks Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named 'socks' ``` Installed via pip3, twilio version 3.6.10 Any advice?
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]