elchicodepython / elchicodepython/python-nocodb

"UnicodeDecodeError" during Pip install on certain Environments

Đang mở
#21 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
78
Fork
20
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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!

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.