elchicodepython / elchicodepython/python-nocodb

"UnicodeDecodeError" during Pip install on certain Environments

未关闭
#21 1 条评论 0 个 reaction 已指派 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 摘要。