Closed laxatives closed 4 years ago
Sorry for the delay in replying. Did you find it worked with 3.7 or 3.8? It would be better to use a later release anyway. I'll update the README.
Yes, this was resolved in 3.7, did not try in 3.8.
Closing this for now, as I'm deprecating 3.6 support...
I had the same issue with 3.7.8 as well. I created the Conda environment using the environmnent.yml
file provided in the repo.
It turns out the error for me was happening because my LC_ALL
in my systems locale
was undefined. It can be easily check by typing locale
at the terminal. Here is how mine looked.
The solution to this was to reconfigure my locale
so that the LC_ALL
is set to C
.
export LC_ALL=C
sudo dpkg-reconfigure locales
Just keep hitting enter and let it do it's thing.
This sets the LC_ALL
to C. The code works nicely after this.
Set locale like
locale.setlocale(locale.LC_ALL, locale.getlocale())
here fails using python3.6 from the pip installation.Example:
Returns:
Resolved from the docs suggestion to set like
locale.setlocale(locale.LC_ALL, '')
, but not sure if that has the same behavior. Could just require users not to use python3.6 in the README.