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

Quick fix in setup.py #117

Merged
merged 3 commits into from
Oct 4, 2022
Merged

Quick fix in setup.py #117

merged 3 commits into from
Oct 4, 2022

Conversation

edsonportosilva
Copy link
Contributor

Hi guys, there is an issue preventing the installation of CommPy 0.7.0 via PIP in Windows. When attempting to do pip install scikit-commpy on Windows, version 0.6.0 is installed instead, due to a bug in setup.py in version 0.7.0. I don't know if the same issue appears in other OS. Looking at the error logs and similar issues reported on StackOverflow, I found a quick fix.

In setup.py, change:

LONG_DESCRIPTION = open('README.md').read()

to

LONG_DESCRIPTION = open('README.md', encoding="utf8").read()

That should fix the pip installation on Windows. I tested it and this fix allowed me to install version 0.7.0 on my Windows PC.

@BastienTr BastienTr merged commit ac8c0db into veeresht:master Oct 4, 2022
@BastienTr
Copy link
Collaborator

Thanks 👍

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

Successfully merging this pull request may close these issues.

None yet

2 participants