-
-
Notifications
You must be signed in to change notification settings - Fork 351
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
Miniforge Prompt is broken for username that contains special characters on Windows #484
Comments
yeah..... this is likely always going to be an issue for you. I suggest you don't install in this directory, and likely just recreate your user with an ASCII username. in 2023, I still hit bugs relating to spaces and special characters in files. |
Sure, this is for a friend that needed to work with conda, she will be sure to have sanitized username for her office laptop.. As additional info, it seems that all the env-related conda commands are also broken (like conda list). I will check if there is a running issue in the conda repository. |
Related issue in conda : conda/conda#10239 |
we can probably just refuse to install there at the installation step. that would be a feature to add to |
The console shortcuts basically run this command:
Where PREFIX is the directory where conda (Miniforge, Miniconda) was installed. If you can run that from a regular CMD instance, then the problem is on You can also try with Powershell, which might be a bit more resilient:
|
For what it's worth in corporate settings, where a user's laptop does not belong to them and where they lack admin privs, it can be impossible to fight IT bureaucracy to get user home directory names changed (to remove spaces or special characters). I've just had an incident where some of my colleagues are in exactly this situation and as a result we were unable to get |
Solution to issue cannot be found in the documentation.
Issue
That issue concerns windows session with a username that contains special characters (as é, è...).
After installation, running the Miniforge Prompt lead to an error
And conda cannot be launch.
Running activate.bat the same way as in the shortcut
leads to the same error. I suspect an error on the way
activate.bat
deals with special characters.We have found a workaround : running
In an elevated cmd allowed us to use conda (and mamba).
I have checked : it seems that this behavior only occurs un miniforge. A miniconda prompt works out of the box/
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: