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 vinay.sajip
Recipients Jarek.Śmiejczak, ncoghlan, vinay.sajip, vstinner
Date 2014-01-06.12:11:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1389010260.21.0.859557730041.issue20140@psf.upfronthosting.co.za>
In-reply-to
Content
Jarek: I can't easily test this in my environment; perhaps you can help. Could you change, in the file

c:\python27\lib\site-packages\pip\_vendor\distlib\resources.py,

line 40 from

            base = os.path.join(get_cache_base(), 'resource-cache')
to
            base = os.path.join(get_cache_base(), str('resource-cache'))

to see if that resolves the problem? Currently, 'resource-cache' is a Unicode string (because of "from __future__ import unicode_literals" in the containing module) and that causes Python to try and convert the get_cache_base() result to Unicode using ASCII, which leads to the failure.
History
Date User Action Args
2014-01-06 12:11:00vinay.sajipsetrecipients: + vinay.sajip, ncoghlan, vstinner, Jarek.Śmiejczak
2014-01-06 12:11:00vinay.sajipsetmessageid: <1389010260.21.0.859557730041.issue20140@psf.upfronthosting.co.za>
2014-01-06 12:11:00vinay.sajiplinkissue20140 messages
2014-01-06 12:11:00vinay.sajipcreate