This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients dstufft, ncoghlan, vstinner
Date 2013-11-26.13:30:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385472613.3.0.345827849093.issue19766@psf.upfronthosting.co.za>
In-reply-to
Content
In fact, it's an issue in the urllib3 library which require threads.

$ cd /home/haypo/pip/PIP/pip/_vendor/requests/packages
$ /home/haypo/prog/python/default/venv/bin/python -c 'import urllib3'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/haypo/pip/PIP/pip/_vendor/requests/packages/urllib3/__init__.py", line 24, in <module>
    from .poolmanager import PoolManager, ProxyManager, proxy_from_url
  File "/home/haypo/pip/PIP/pip/_vendor/requests/packages/urllib3/poolmanager.py", line 14, in <module>
    from ._collections import RecentlyUsedContainer
  File "/home/haypo/pip/PIP/pip/_vendor/requests/packages/urllib3/_collections.py", line 8, in <module>
    from threading import RLock
  File "/home/haypo/prog/python/default/Lib/threading.py", line 4, in <module>
    import _thread
ImportError: No module named '_thread'

Here is a patch for urllib3.

I reported the issue upstream:
https://github.com/shazow/urllib3/issues/289
History
Date User Action Args
2013-11-26 13:30:13vstinnersetrecipients: + vstinner, ncoghlan, dstufft
2013-11-26 13:30:13vstinnersetmessageid: <1385472613.3.0.345827849093.issue19766@psf.upfronthosting.co.za>
2013-11-26 13:30:13vstinnerlinkissue19766 messages
2013-11-26 13:30:12vstinnercreate