-
Notifications
You must be signed in to change notification settings - Fork 603
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
csvjson: AttributeError: 'module' object has no attribute 'Locale' #1081
Comments
@spier , Python2.7 is deprecated. Install on |
@novitoll yeah, I know. Eventually I will have to migrate my script away from Python 2.7, no question about that. I mostly filed this issue here in case anybody else was running into this issue, as it was fairly hard for me to trace the cause of this issue. So I figured finding this issue in a google/github search might make peoples live easier :) |
Helped me, so much appreciated ❤️ |
Thanks for documenting the fix for anyone still on 2.7 :) |
Thanks a ton! The solution in the top post worked for me as well. I had to run:
Strangely, using I got the following errors with
I do have Python installed with Macports... perhaps that is causing some issue(s)? |
Great to see that this thread is still useful for others :) |
Related #1127 |
When using
csvjson
with Python 2.7 I got this error:I traced the issue back to the package
parsedatetime-2.6
that is used by csvkit.The issue can be fixed by locking that package to version 2.5.
Also see these discussions:
bear/parsedatetime#246
certbot/certbot#8042
I hope that this issue can be useful for others that run into the same problem.
The text was updated successfully, but these errors were encountered: