constructor
constructor copied to clipboard
Non-ASCII characters in target path might affect package extraction
Checklist
- [X] I added a descriptive title
- [X] I searched open reports and couldn't find a duplicate
What happened?
Comes from https://conda.discourse.group/t/install-miniconda3-for-windows/169/11
Conclusions from the 1:1 investigations:
- Latest Miniconda for Windows x64 (as of today) could not get installed in a path with non-ASCII characters. In the reported issue, the Windows username is
Ángel
. - Installation worked better with the "All Users" option (packages were extracted and linked correctly), but it crashed BAD when the uninstaller was supposed to be written. No error dialogue or anything, just a vanished installer after a sub-second flash of a red-cross dialog.
- If the installation happened into an ASCII compliant path, no errors were reported even in "Just Me" mode. However, this observation was only made after an accidental computer restart.
Conda Info
N/A
Conda Config
N/A
Conda list
N/A
Additional Context
- The user had attempted several installations with different degrees of success, but they had all failed. This included Miniconda, Anaconda, Mambaforge (which used the current
constructor
, but also previous versions with old conda-standalones). - An old VS Code extension (maybe this one) had apparently installed a CPython into
C:\Python
and added that to PATH. This is bad practice, but the installer should be able to run regardless. This might not be related, but it's worth investigating, because it might be another issue to fix.
I'm also attaching some of the logs collected during the investigation:
It looks like the problem comes from conda-package-handling
and/or libarchive
. @dholth Have you seen errors like this during your tests? Check the miniconda logs; mambaforge errors are different, probably because of the previous failed installs leaving .condarc
files around... aka #568.