PIP does not appear to handle diacritics correctly.
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? Has anyone a clue how to fix it? Thank you -- Stand up against TTIP and ISDS ! -- https://mail.python.org/mailman/listinfo/python-list
Re: PIP does not appear to handle diacritics correctly.
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? >> >> Has anyone a clue how to fix it? >> Thank you >> >> > Can you please cut and paste exactly what you tried and the failure > messages, as there's a lot of smart people around here but we're not > mind readers :) Which Python and pip version are you using? Did you > install pip yourself or did it come with your Python installation? 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. :-( Thank you for your help. -- Stand up against TTIP and ISDS ! -- https://mail.python.org/mailman/listinfo/python-list
Re: PIP does not appear to handle diacritics correctly.
On Wed, 09 Sep 2015 09:13:41 +0100, Tim Golden wrote: > 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 > Sorry I can't even execute that one. I keep getting the weird error message. But I just downloaded it 3 days ago, so it should be the current one. > 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: > > https://github.com/pypa/pip/issues > done. Thank you. -- Stand up against TTIP and ISDS ! -- https://mail.python.org/mailman/listinfo/python-list
Re: PIP does not appear to handle diacritics correctly.
On Wed, 09 Sep 2015 00:22:31 -0700, wxjmfauth wrote: > Yes, I know how to fix all these problems. I know as well: have a user, which name is just plain ASCII. But it sucks to rebuild everything... -- Stand up against TTIP and ISDS ! -- https://mail.python.org/mailman/listinfo/python-list
Re: PIP does not appear to handle diacritics correctly.
On Wed, 09 Sep 2015 17:21:59 +0100, Tim Golden wrote: > On 09/09/2015 17:16, Wolfgang Maier wrote: >> On 09.09.2015 10:23, Chris Angelico wrote: >>> On Wed, Sep 9, 2015 at 5:59 PM, Laszlo Lebrun via Python-list >>> wrote: >>>> 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. >>>> :-( >>> >>> >> I may be wrong, but isn't the error message suggesting that this is a >> bug in the py launcher instead of in pip? >> If I remember a post from a recent thread correctly, then pip.exe is >> just a script using the launcher. >> If that's true, shouldn't the recommended: >> >> python -m pip >> >> be a workaround? >> >> I might be wrong, but it's worth a try. > > Actually, that's a good point. Especially given the start of the error > message... > > TJG python -m pip works well. That's a help, I will be able to get the libraries I need. Thank you. -- Stand up against TTIP and ISDS ! -- https://mail.python.org/mailman/listinfo/python-list
