-
Notifications
You must be signed in to change notification settings - Fork 220
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
CondaFileIOError on Installing * environment... with Miniconda installer on Linux #13110
Comments
Runing the installer with bash Miniconda3-py310_22.11.1-1-Linux-x86_64.sh
|
Yes indeed! Changing the installation script so that it now requires a specific shell doesn't look like such a great idea, but at least it works, thanks! |
@rgoubet Should this have been closed? Do you know if there is a fix coming for the miniconda installation script? Thanks. |
I think dkim's answer solves. I don't think it was a good idea to make this change, but it's probably not a problem that requires solving. |
The workaround works for me as well, but I just want to make sure that the request funnels back to the team maintaining to update the install script to make sure that their shebang script is compatible with the scripting language they've chosen. I'm pretty sure this can be described as a bug. Assuming this is the right place for that feedback, closing the issue just because there is a workaround, might not get this issue addressed. I can open a duplicate of this but reopening it seemed the ideal path forward since you've reported it already. |
When looking into Miniconda3.sh, it still has a shebang like this:
I agree with ashanbrown's opinion. Although the suggested workaround works for me, I think it would be better to change the right syntax for that shebang in this script(Miniconda3.sh) by maintainers. |
Unix standards state that if a script starts with I didn't know this until I hit this error in Conda installation myself a couple weeks ago. I went looking for a definitive source right now, but unfortunately I couldn't find one with a few minutes' searching. EDIT: here's such a statement, in the Debian Policy Manual:
|
Got the same problem `Downloading and Extracting Packages Preparing transaction: done Installing * environment... ./Miniconda3-latest-Linux-x86_64.sh: 444: [[: not found CondaFileIOError: '/home/razvan/miniconda3/pkgs/envs//env.txt'. [Errno 2] No such file or directory: '/home/razvan/miniconda3/pkgs/envs//env.txt'
I get this error |
Don't know why this is not yet solved on overall installation, @dkim workaround solved this for me. |
@SuperiChili rm -rf /home/razvan/miniconda3
bash /the/installer/script.sh |
@rgoubet, thank you for opening this issue (and everyone else for commenting/responding). This issue should be fixed in the latest release of Miniconda-23.1.0-1, now available here: https://docs.conda.io/en/latest/miniconda.html |
Checklist
Impacted product
What happened?
When executing
sh ./Miniconda3-py310_22.11.1-1-Linux-x86_64.sh
on a fresh installation (having first renamed~/miniconda3
), I get the following:A
*
environment? No wonder it doesn't work...(Note: trying to update my existing environment with the
-u
switch has the same results).No issue when using the earlier
Miniconda3-py39_4.12.0-Linux-x86_64.sh
package.Expected behavior or outcome
Miniconda should install on Linux
Conda info
Conda config
Conda list
Additional information
No response
The text was updated successfully, but these errors were encountered: