Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install -e . in environment setup fails on windows machines due to default ASCII encoding #18

Open
GuaiGuaiOnMyComputer opened this issue Dec 11, 2023 · 0 comments

Comments

@GuaiGuaiOnMyComputer
Copy link

Hi everyone.

So the last step in the Environment Setup chapter in README.md requires to run command

pip install -e .

which executes the script setup.py. The script fails at line 26 on windows machines since it tries to open the file README.md, which contains emojis and non-ASCII characters, and python's default encoding to read files on windows is ASCII.

Specifying the encoding to open the file fixes the issue. Like

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

Could someone kindly modify the code to grant a bit more smoothness for windows users? Much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant