-
-
Notifications
You must be signed in to change notification settings - Fork 439
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
Unicode decode error when put coverage into setup script in Windows #539
Comments
Hmm, I have no idea why that would happen. I don't know where there's a 0x90 byte in the coverage.py metadata. Is there any way you could debug into pkg_resources_init_.py to see what it's looking at? |
Original comment by Félix Antoine Goudreault (Bitbucket: fgoudreault, GitHub: fgoudreault) I got the same error on windows 10 pro using Miniconda in a virtual env. Also, removing coverage in the install requires fixes the issue. Installing coverage through pip before calling the setup fixes the issue also. |
@fgoudreault thanks for the link to the pypa issue. I didn't know about that one. It mentions easy_install. Can you show the specific commands you are using to run the installation? @chinux23 What commands did you use to install? |
Original comment by Félix Antoine Goudreault (Bitbucket: fgoudreault, GitHub: fgoudreault) I used python setup.py develop where setup.py looks like:
|
@fgoudreault does "pip install -e ." work for you? |
Original comment by Félix Antoine Goudreault (Bitbucket: fgoudreault, GitHub: fgoudreault) Yes, pip install -e seems to work. |
Originally reported by Chen Huang (Bitbucket: chinux23, GitHub: chinux23)
I am using Windows 10 with Anaconda 64 bit python 3.5. It seems I can't put coverage as part of a requirement in any setup scripts.
For example, running the following setup script will fail:
Any thoughts?
By revmoing "coverage" in the setup script, the install script pass.
The text was updated successfully, but these errors were encountered: