Unknown encoding error (cp65001) in windows exe version
See original GitHub issueDVC version: dvc-0.41.3.exe windows exe
Error message:
C:\Users\LexSong> dvc
C:\PROGRA~2\DATAVE~1\aliyunsdkcore\vendored\requests\packages\urllib3\contrib\socks.py:37: DependencyWarning: SOCKS support in urllib3 requires the installation of optional dependencies: specifically, PySocks. For more information, see https://urllib3.readthedocs.io/en/latest/contrib.html#socks-proxies
Traceback (most recent call last):
File "logging\__init__.py", line 868, in emit
File "logging\__init__.py", line 741, in format
File "dvc\logger.py", line 51, in format
File "dvc\logger.py", line 149, in _progress_aware
File "dvc\progress.py", line 36, in clearln
File "dvc\progress.py", line 117, in _print
File "site-packages\colorama\ansitowin32.py", line 41, in write
File "site-packages\colorama\ansitowin32.py", line 162, in write
File "site-packages\colorama\ansitowin32.py", line 187, in write_and_convert
File "site-packages\colorama\ansitowin32.py", line 195, in write_plain_text
LookupError: unknown encoding: cp65001
Logged from file cli.py, line 83
Traceback (most recent call last):
File "logging\__init__.py", line 868, in emit
File "logging\__init__.py", line 741, in format
File "dvc\logger.py", line 51, in format
File "dvc\logger.py", line 149, in _progress_aware
File "dvc\progress.py", line 36, in clearln
File "dvc\progress.py", line 117, in _print
File "site-packages\colorama\ansitowin32.py", line 41, in write
File "site-packages\colorama\ansitowin32.py", line 162, in write
File "site-packages\colorama\ansitowin32.py", line 187, in write_and_convert
File "site-packages\colorama\ansitowin32.py", line 195, in write_plain_text
LookupError: unknown encoding: cp65001
Logged from file main.py, line 48
There is an encoding error in colorama
when the code page is cp65001(UTF-8).
There is no issue when I install with pip install
on Anaconda.
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Fix “LookupError: unknown encoding: cp65001” error in Python
If you're getting this error, you are probably running a legacy version of Python (usually Python 2.x) on Windows. But first, what is...
Read more >Plesk Migrator fails to copy website data: unknown encoding
Failed to copy web files for subscription 'example.com' Migration tools tried to perform operation in 3 attempts: unknown encoding: cp65001. Error in Plesk ......
Read more >Python 3 doesn't support cp65001 as the OEM code page
The following scenario GPFs on Windows Vista using cmd.exe. ... sys standard streams LookupError: unknown encoding: cp65001 This application ...
Read more >Out of date embedded esptool.py on Windows - Bitbucket
When I do the update manually, the version that executes is ... The error message “ unknown encoding: cp65001” is caused by Python...
Read more >Python - unknown encoding: cp65001 [duplicate] - DevPress
Answer a question I have installed python 2(64 bit), on windows 8.1 (64 bit) and wanted to know pip version and for that...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you! I can confirm this issue have been fixed in 0.50.1 released exe.
By the way, my anaconda environment is here:
Maybe it will be helpful.