Can't install requests on python 2.7 (win7)

C:\Users[user]\Downloads\kennethreitz-requests-v0.13.1-23-g38db8c2>setup.py build install
C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option:
 'include_package_data'
  warnings.warn(msg)
C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option:
 'install_requires'
  warnings.warn(msg)
running build
running build_py
creating build
creating build\lib
creating build\lib\requests
copying requests\api.py -> build\lib\requests
copying requests\async.py -> build\lib\requests
copying requests\auth.py -> build\lib\requests
copying requests\compat.py -> build\lib\requests
copying requests\cookies.py -> build\lib\requests
copying requests\defaults.py -> build\lib\requests
copying requests\exceptions.py -> build\lib\requests
copying requests\hooks.py -> build\lib\requests
copying requests\models.py -> build\lib\requests
copying requests\safe_mode.py -> build\lib\requests
copying requests\sessions.py -> build\lib\requests
copying requests\status_codes.py -> build\lib\requests
copying requests\structures.py -> build\lib\requests
copying requests\utils.py -> build\lib\requests
copying requests__init__.py -> build\lib\requests
creating build\lib\requests\packages
copying requests\packages__init__.py -> build\lib\requests\packages
creating build\lib\requests\packages\urllib3
copying requests\packages\urllib3\connectionpool.py -> build\lib\requests\packag
es\urllib3
copying requests\packages\urllib3\exceptions.py -> build\lib\requests\packages\u
rllib3
copying requests\packages\urllib3\filepost.py -> build\lib\requests\packages\url
lib3
copying requests\packages\urllib3\poolmanager.py -> build\lib\requests\packages\
urllib3
copying requests\packages\urllib3\request.py -> build\lib\requests\packages\urll
ib3
copying requests\packages\urllib3\response.py -> build\lib\requests\packages\url
lib3
copying requests\packages\urllib3\util.py -> build\lib\requests\packages\urllib3

copying requests\packages\urllib3_collections.py -> build\lib\requests\packages
\urllib3
copying requests\packages\urllib3__init__.py -> build\lib\requests\packages\url
lib3
creating build\lib\requests\packages\urllib3\packages
copying requests\packages\urllib3\packages\six.py -> build\lib\requests\packages
\urllib3\packages
copying requests\packages\urllib3\packages__init__.py -> build\lib\requests\pac
kages\urllib3\packages
creating build\lib\requests\packages\urllib3\packages\ssl_match_hostname
copying requests\packages\urllib3\packages\ssl_match_hostname__init__.py -> bui
ld\lib\requests\packages\urllib3\packages\ssl_match_hostname
error: package directory 'requests\packages\urllib3\packages\mimetools_choose_bo
undary' does not exist

Thanks.


The problem here is that `setup.py` in the current develop repository specifies `'requests.packages.urllib3.packages.mimetools_choose_boundary'` as a package to be installed, but that package is not provided by the source.

I don't have this problem when using `pip` to install requests, though. If you don't need the current development version of requests, do you want to try installing it from pip?


I installed it with easy_install for the meanwhile, thanks!


Fixed in #686 :)