Skip to content

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

Description

@GuaiGuaiOnMyComputer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions