FAQ

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.
:-(

Peculiar. I don't know if it helps, but the first one seems to have
been encoded UTF-8 and then decoded CP437; and the second has been
encoded Latin-1 and decoded CP850.

"B?rgerGegenFlugl?rm".encode("utf-8").decode("437")
'B??rgerGegenFlugl??rm'
"B?rgerGegenFlugl?rm".encode("iso-8859-1").decode("850")
'B?rgerGegenFlugl?rm'


But why those particular encodings... weird.


ChrisA

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 16 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedSep 8, '15 at 7:14p
activeSep 9, '15 at 8:23p
posts16
users7
websitepython.org

People

Translate

site design / logo © 2017 Grokbase