question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't install and run properly under Windows 10 with non-English locale and username

See original GitHub issue

My environment: Windows 10 64-bit with latest updates Python 3.6.4 Pipenv 9.0.1

Expected result

I expect pipenv to run from command line properly

Actual result

C:\Users\Рома>pipenv --verbose File "C:\Users\Рома\AppData\Local\Programs\Python\Python36\Scripts\pipenv-script.py", line 1 SyntaxError: Non-UTF-8 code starting with '\xf0' in file C:\Users\Рома\AppData\Local\Programs\Python\Python36\Scripts\pipenv-script.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details It works if run with python -m pipenv though NOTE: I attached the pipenv-script.py inside a ZIP archive pipenv-script.zip

Steps to replicate
  1. Install pipenv under Windows 10 with non-English locale and username (in order to do it you need to first update to pip10 with easy_install https://github.com/pypa/pip/archive/master.zip as pip9.0.1 itself is unusable under non-English locale)
  2. Open Windows 10 console, type pipenv and press Enter

NOTE: using git bash doesn’t help in any way.

P.S. The error is trivial and looks like it’s not in pipenv itself but in install scripts. Maybe it’s distutils, maybe it’s pip, maybe it’s Python for Windows. In such a case please, tell me where to report the issue or report to the corresponding project developers.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
habnabitcommented, Jan 3, 2018

This is not a pipenv problem. easy_install is writing a broken pipenv-script.py. About to file an issue against setuptools for it.

0reactions
reflechantcommented, Jan 20, 2018

Being installed that way (with pip9.0.1) pipenv works just ok.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manage display language settings in Windows
Manage display language settings in Windows · Select Start > Settings > Time & language > Language & region. · Choose a language...
Read more >
How to Change your System Language completely in ...
Hi, So in short the steps are. 1. Add language pack in the control panel, go to Language & remove others. Set default...
Read more >
How to Fix Language Problem of Non Unicode ... - YouTube
How to Fix Language Problem of Non -Unicode Program in Windows 10 ?You can fix this problem by changing the language settings for...
Read more >
How to change system language on Windows 10
In this guide, we'll show you the easy steps to change the system default language on your computer running Windows 10 without ...
Read more >
Make Windows correctly display characters from languages ...
How to set the language for non-Unicode programs in Windows ... It does not matter what version of Windows you are using. You...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found