elchicodepython / elchicodepython/python-nocodb

"UnicodeDecodeError" during Pip install on certain Environments

オープン
#21 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
78
フォーク
20
PR マージ指標
30日以内にマージされた PR はありません

説明

Just wanted to bring this issue up - on certain environments, it seems that running "pip install nocodb" failes with an error that looks something like:

`UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 2436: character maps to `

Tracing it back, it seems the issue has to do with this line in setup.py lacking deliberate encoding:

`long_description=open('README.md').read(),`

I was able to resolve the issue by simply specifying UTF-8 encoding like so:

`long_description=open('README.md', encoding='utf-8').read(),`

And the pip install worked fine. Just wanted to let you know!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。