question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`conda` executable deleted by `conda update --all`

See original GitHub issue

If I install a clean copy of Anaconda, and run conda update conda -y && conda update --all -y everything runs fine. But if I install a clean copy of Anaconda and add conda-forge to my channels, something deletes my conda executable the first time I run conda update --all. As best as I can tell, this happens when linking new packages. (If I have a seperate window open, I can run conda info fine until it gets to “Unlinking packages” and “Linking packages” of the conda update --all stage.)

This seems separate from this issue, since I don’t see any uncaught errors.

To reproduce this on my machine (Mac OS 10.11.5), after installing a fresh copy of Anaconda:

conda config --add channels conda-forge
conda update conda
conda update --all

Which yields no error messages until I try conda info and am told -bash: /Users/egentry/anaconda3/bin/conda: No such file or directory

(I believe I’ve properly cleared my old config information between installations)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:20 (17 by maintainers)

github_iconTop GitHub Comments

2reactions
kalefranzcommented, Jun 28, 2016

@jjhelmus

First off, conda update --all is nearly always a bad idea. You probably should not be doing that.

It used to be. I thought we had greatly improved it as of 4.0.

I do get an error which leaves conda unusable (requests gets uninstalled and the replacement is not installed before the error)

😤😡

Until we can get conda into it’s own private env and out of the root or “default” env–probably in 5.0–I might just start to vendor all of conda’s dependencies to avoid problems just like this.

We’re also doing structural work within the conda code base to enable us to make things more atomic and roll back on errors.

The error I’m getting is comes when either simplegeneric or python-simplegeneric is installed as the files for it already exist. I think we need to remove the python- prefixed one from conda-forge.

https://github.com/conda-forge/python-simplegeneric-feedstock/issues/1

1reaction
jjhelmuscommented, Jun 30, 2016

we introduce an Obsoletes concept, analogous to the RPM meaning.

That would need to be added to conda correct? 👍 for suggesting this as a feature to add to conda. A conflicts option would be nice also for cases where two packages cannot (or should not) be installed in the same environment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python 3.x - spacy installation deletes conda.exe
In the first try, was trying to install the package spacy on a base installation of Anaconda with Python 3.6. using the conda...
Read more >
Troubleshooting — Anaconda documentation
Use conda update --all to update all currently installed packages. To remove the conflicting packages and upgrade to the latest version of Anaconda:...
Read more >
conda remove
Remove a list of packages from a specified conda environment. This command will also remove any package that depends on any of the...
Read more >
ArcGIS Pro conda.exe broken - Esri Community
Solved: It seems that the conda used by my ArcGIS Pro 2.6.1 install is completely broken. I have tried completely uninstalling and ...
Read more >
Readme · Conda.jl - JuliaHub
Conda.rm(package, env) : remove (uninstall) a package;; Conda.update(env) : update all installed packages to the latest version;; Conda.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found