-
Notifications
You must be signed in to change notification settings - Fork 3k
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 19.1.1 fails to install pendulum 2.0.4 #6566
Comments
hmm, looks like author's name includes an invalid utf-8 character. |
|
A colleague of mine has just hit the same issue. @sdispater is owner of |
The same error here. Windows 10. |
The same error here. Windows 10. $ pip --version
pip 19.1.1 from mydir (python 3.7) |
Confirmed, same here, Windows 10 |
As a workaround, you can try installing via conda-forge if you are using Anaconda: |
Yes, that works. But it's a bit uncomfortable if you don't normally use Anaconda. I mean, Anaconda is great. No question about it. Especially on Windows. So it's a valid workaround. Still it's a bug that should be fixed. |
@smtakeda Can you try the install command with verbose logging?
Also, this is from pendulum's
So I wonder if this is an issue with poetry. Like, here are some still-open issues on poetry's tracker related to encodings:
I wonder what pip can do to spot this issue earlier (or help resolve it), and help figure out what code is responsible for generating the bad file (e.g. if pip isn't at fault). |
I just filed this setuptools ( That won't go all the way though, IMO, in making instances of this issue easier to diagnose. |
FYI, yesterday I posted the following PR to setuptools which would improve the |
FYI, my setuptools PR that adds to the exception text the path to the problematic file has now been merged: pypa/setuptools#1791 |
I'm not sure we're waiting for any response, just investigation as to how the valid utf-8 character in |
@chrahunt I put "awaiting response" since I was waiting for a reply to this question in my comment:
It would provide more info to help diagnose the root cause. |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Sorry for late reply.. Anyway I attempted to reproduce this but no longer happening:
I'm sure this was reproducible when the issue was reported, because both my local Windows vm and Appveyor had the same issue. Thank you for looking into this anyway. |
Same here. Happened on 2 different machines previously. Problem is gone now. Thank you to whoever fixed it.
Mark
|
Environment
Package Version
pip 19.1.1
setuptools 41.0.1
Description
pip 19.1.1 / 19.0 fails to install pendulum 2.0.4.
pip 18.1 works well.
No problem on Linux.
Expected behavior
pendulum package is installed:
How to Reproduce
Open a cmd and run the following.
Output
The text was updated successfully, but these errors were encountered: