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.

UnicodeDecodeError when pip install

See original GitHub issue

When trying to pip install pinyin, error occurs: UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 571: character maps to <undefined> How to resolve this issue? Thanks

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
genepengcommented, May 15, 2016

I installed successfully, workaround is:

  1. download the package to local, and unzip
  2. change the line in file setup.py long_description=open('README.rst').read(), to something else, like long_description='fix UnicodeDecodeError',
  3. go to the unzipped package directory $ pip install .
1reaction
pvtodorovcommented, Jul 8, 2016

@genepeng Your method saved me when trying to install another package. Thanks a bunch!

Read more comments on GitHub >

github_iconTop Results From Across the Web

pip install UnicodeDecodeError - python - Stack Overflow
This issue is still present in pip 1.5.6 and this is awful. So, you can avoid patching pip and just change your working...
Read more >
Pip 20.2 causes UnicodeDecodeError · Issue #8658 - GitHub
packages fails with a UnicodeDecodeError exception. Expected behavior. I expect the packages to be installed successfully like it does with 20.1.
Read more >
pip installで UnicodeDecodeErrorが出たときの対処方法 ... - Qiita
python -m pip install backtesting (中略) UnicodeDecodeError: 'cp932' codec can't decode byte 0x94 in position 4437: illegal multibyte ...
Read more >
Hi I can't install match by pip, (Example) | Treehouse Community
Hi, I can't install match by using pip on windown, this is error I got, ... UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d...
Read more >
Windows pip install UnicodeDecodeError: 'gbk' codec can't ...
但是,冷静的思考一下问题,本质是由于Windows的特殊的编码方式导致,由于我改变思路,直接把windows的编码方式修改为utf-8,问题不就解决了。
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