Skip to content
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

installation failled with accent in user name #199

Closed
Alexander-Barth opened this issue Mar 22, 2021 · 1 comment · Fixed by #200
Closed

installation failled with accent in user name #199

Alexander-Barth opened this issue Mar 22, 2021 · 1 comment · Fixed by #200

Comments

@Alexander-Barth
Copy link
Contributor

Alexander-Barth commented Mar 22, 2021

I am trying to help two students who failed to install Conda.jl. A manual miniconda installation to the directory c:\users\<username>\.julia\conda\3\ also failed. We see the following error in the miniconda installation log:

Traceback (most recent call last):
   File "concurrent\futures\process.py", line 368, in
_queue_management_worker
   File "multiprocessing\connection.py", line 251, in recv
TypeError: __init__() missing 1 required positional argument: 'msg'

Both students have a French accent in their username which seems to be an issue for conda (at least anaconda):

We recommend installing Anaconda or Miniconda into a directory that contains only 7-bit ASCII characters and no spaces, such as C:\anaconda. Do not install into paths that contain spaces such as C:\Program Files or that include Unicode characters outside the 7-bit ASCII character set. This helps ensure correct operation and no errors when using any open-source tools in either Python 3 or Python 2 conda environments.

Could Conda.jl detect this issue and propose a work-around to the users?
I cannot replicate the issue locally, but after reading build.jl it seems that setting ENV["CONDA_JL_HOME"] might be sufficient.

See also conda/conda#10239

@stevengj
Copy link
Member

stevengj commented Mar 22, 2021

See also conda/conda#8662 … and also ContinuumIO/anaconda-issues#716 for spaces in the path.

Yes, it seems feasible to print out a more friendly error message in Conda.install for paths that Anaconda doesn't like, just by checking isascii(path) && ' ' ∉ path.

stevengj pushed a commit that referenced this issue Jun 25, 2023
…s on Windows (#200)

* installation on Windows with special characters in user names; issue #199

* check non-ASCII character or a space on Windows during _install_conda

* fix instructions for special characters in your user name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants