Closed jatins closed 6 years ago
Found the solution here: http://stackoverflow.com/questions/22265659/trying-to-install-aws-cli-stuck-on-a-step
Still leaving this open, maybe it should give a more meaningful error if it expects those environment variables to be set?
This seems to be an issue affecting various Python projects. Here's a similar Stack Overflow post that points to a bug in Python.
There is an outstanding bug report related to this issue. It appears that Python makes some assumptions about the format of locale names that aren't universally valid. Explicitly setting these environment vars is basically just a workaround for that bug.
Seeing as this is an upstream bug (potentially as far upstream as Python itself) and the only action we could take here is to re-throw a more meaningful error message I'm going to close this out. At least presently searching for the exact error that's being thrown now will easily lead you to the solution of setting those environment variables. Changing the error message might actually make it harder to find a solution.
I just installed aws-shell on El-Capitan (10.11.5), and getting this error:
Python version: