PIP does not appear to handle diacritics correctly.

Tim Golden mail at timgolden.me.uk
Wed Sep 9 10:13:41 CEST 2015

On 09/09/2015 08:59, Laszlo Lebrun via Python-list wrote:
> On Tue, 08 Sep 2015 23:35:33 +0100, Mark Lawrence wrote:
>> On 08/09/2015 20:14, Laszlo Lebrun via Python-list wrote:
>>> Dear group,
>>> I do use Windows 7 and have a user name with diacritics.
>>> Whenever I am querying an extension with pip, it will fail since it
>>> does not pass on the user folder correctly.
>>> I thought PIP deals well with unicode, doesn't it?

> Yes, you are right, let me append the message.
> Just after a fresh install of Python with PIP on Windows. 
> Whenever I start PIP, I get:
> "Fatal error in launcher: Unable to create process using '"C:\Users
> \BürgerGegenFluglärm\AppData\Local\Programs\Python\Python35-32
> \python.exe"  "C:\Users\B³rgerGegenFluglõrm\AppData\Local\Programs\Python
> \Python35-32\Scripts\pip.exe" '"
> Where the correct path is "C:\Users\BürgerGegenFluglärm\AppData..."
> The funny thing is that the message mentions the path twice, with 
> different wrong codings.
> :-(

What version of pip are you using? Since (from the path) I guess you
have a 32-bit version of Python 3.5, I assume it's the version which was
installed with that but just check:

pip --version

Hopefully someone here can help, but in fact pip is not part of core
Python: the ensurepip mechanism (which *is* part of core Python)
bootstraps a recent version of pip but it's maintained elsewhere.

So you may need to raise this as a bug on the Pip tracker:



More information about the Python-list mailing list