-
-
Notifications
You must be signed in to change notification settings - Fork 384
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
Can't install pendulum unless locale is set to UTF-8 #365
Comments
I faced the same. |
I have Windows 7 and am seeing the same error. 2.0.4 didn't work, but I was able to get things to work easily enough by installing a slightly older version. pip install pendulum==2.0.2 So that may help narrow down what is going wrong, since Windows users don't seem to be able to set the locale so easily to UTF8. (Would a link to how to do this in the FAQ be appropriate, in case this is a really tricky bug that is prone to happen again? |
Rather than install an older version of pendulum, I had 2.0.4 installed on another machine and finally narrowed the magic down to the pip version. If you do |
Shall be fixed by poetry's PR python-poetry/poetry#1085 Both pendulum versions 2.0.2 as well as 2.0.4 include special character authors = [
"Sébastien Eustace <sebastien@eustace.io>"
]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
Installing Building Problem is in |
Exactly the same problem with Debian9, python 2.7. Unable to run Installing
but
does not.
|
Should be unpinned if sdispater/pendulum#365 is ever fixed, but right now pycounter won't install cleanly on Windows (including on Appveyor) or anywhere the locale isn't set to use UTF-8.
This is now fixed with the release of the new Poetry version |
To reproduce, run:
The root cause seems to be in poetry, I've filed a separate issue there: python-poetry/poetry#1030.
A quick fix for pendulum would be to either change the build-system requirement to
poetry==0.12.11
or remove theé
in pyproject.toml.The text was updated successfully, but these errors were encountered: