Уряя! Оно работает!
Интересно, а что мешало сделать это автору requests? Он, наверно, ждал знака свыше.
Будем ждать, пока он продуплится.
А на тройке оно работает? Не совсем.
>pip-3.2.exe install requesocks
Downloading/unpacking requesocks
Downloading requesocks-0.10.8.tar.gz (68kB): 68kB downloaded
Running setup.py egg_info for package requesocks
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "d:\docume~1\user\locals~1\temp\pip-build\requesocks\setup.py", line
6, in <module>
import requesocks
File "requesocks\__init__.py", line 26, in <module>
from .models import Request, Response
File "requesocks\models.py", line 18, in <module>
from .packages.urllib3.response import HTTPResponse
File "requesocks\packages\__init__.py", line 3, in <module>
from . import urllib3
File "requesocks\packages\urllib3\__init__.py", line 16, in <module>
from .connectionpool import (
File "requesocks\packages\urllib3\connectionpool.py", line 65, in <module>
from .packages import socksipy
File "requesocks\packages\urllib3\packages\socksipy\__init__.py", line 1,
in <module>
import socks
ImportError: No module named socks
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "d:\docume~1\user\locals~1\temp\pip-build\requesocks\setup.py", line 6, i
n <module>
import requesocks
File "requesocks\__init__.py", line 26, in <module>
from .models import Request, Response
File "requesocks\models.py", line 18, in <module>
from .packages.urllib3.response import HTTPResponse
File "requesocks\packages\__init__.py", line 3, in <module>
from . import urllib3
File "requesocks\packages\urllib3\__init__.py", line 16, in <module>
from .connectionpool import (
File "requesocks\packages\urllib3\connectionpool.py", line 65, in <module>
from .packages import socksipy
File "requesocks\packages\urllib3\packages\socksipy\__init__.py", line 1, in <
module>
import socks
ImportError: No module named socks
----------------------------------------
Command python setup.py egg_info failed with error code 1 in d:\docume~1\user\lo
cals~1\temp\pip-build\requesocks
Storing complete log in pip.log
А сам requests работает.