Closed hywhuangyuwei closed 3 months ago
Since ascii
appears in the error log, I guess there was something wrong related to language settings.
This got fixed after I add this to my current shell config (which is missed on a freshly installed Ubuntu 24.04):
export LANGUAGE="en_US.utf8"
export LC_ALL="en_US.utf8"
export LC_CTYPE="en_US.utf8"
export LANG="en_US.utf8"
Anyway, it would be better if the error message were more user-friendly.
Thanks @hywhuangyuwei for reporting this and finding the solution! I will forward this to the docs team to add it to our troubleshooting page.
The error message comes from the os
module, but I will file issues with conda-package-streaming
and/or conda-standalone
to see if the encoding can either be handled without errors or to at least improve messaging.
Which version of Python is the installer using, see https://peps.python.org/pep-0686/
I downloaded the package, the offending file must be this file, which is test data in ./info/
./info/test/tests/roots/test-images:
testim<C3><A4>ge.png
The bootstrapper was packaged with 3.11.9: https://github.com/AnacondaRecipes/conda-standalone-feedstock/blob/master/recipe/meta.yaml#L6
Oh, I see the UTF-8 as default is not until Python 15.
Filed the issue here: https://github.com/conda/conda-package-streaming/issues/93
Checklist
Impacted product
What happened?
Install using
./Anaconda3-2024.06-1-Linux-x86_64.sh
failed on a fresh Ubuntu 24.04:Expected behavior or outcome
N/A
Conda info
No response
Conda config
No response
Conda list
No response
Additional information
No response