-
Notifications
You must be signed in to change notification settings - Fork 3.1k
pip install would failed when there is something wrong in ~\.python_history
#6401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Unless the file has a BOM or e.g. We may document something about the fact that we support The |
I use utf-8 everywhere and didn't modify this file encoding at that time, but it was contaminated . |
Here is my understanding, please tell me if I get something wrong: There are two issues. Issue 1: Running Issue 2: Running I think that both issue 1 and issue 2 are caused by the system encoding being set to "gbk" but the files containing unicode encoded in UTF-8. Based on that understanding, my opinion is that:
|
Hello! I created an issue to track documenting that "coding: utf-8" is supported in requirements files, so I will close this one. |
Uh oh!
There was an error while loading. Please reload this page.
Environment
Today I updated anaconda, then
pip install -r requirements.txt
got errorOnly after I removed all unicode comments from requirements.txt , it became normal .
I also found enter
python
interpreter would printAfter some effort I found remove
~\.python_history
solve this problem .The text was updated successfully, but these errors were encountered: