The following NEW packages will be INSTALLED: While updating leads to (base) 536> conda update -d sphinxĮnvironment location: /data/anasynth_nonbp/anaconda3 The following packages will be downloaded: Ī real world example: (base) 535> conda install -d sphinxĬollecting package metadata (current_repodata.json): done The implicit distinction between installing and updating is not only that you get an error if you try to update a package that does not exist (what was mentioned in the comments to the question), but also that the side-effects (handling of dependencies) are different for install and update. The fact that the documentation shares the same explanation about what is installed without clarifying the conditions is certainly a bit confusing (at least to me). It seems important to stress that the documentation is not perfectly clear about the difference between install and update. Conda attempts to install the newest versions of the requested packages. In the context of the text from the documentation that was cited in the question Requested packages, and it does not prevent additional dependency packages from being installed. This may force conda to install older versions of the To prevent existing packages from updating, use the -no-update-deps To accomplish this, it may update some packages thatĪre already installed, or install additional packages. What is the difference between conda install and conda update? I've skimmed through the documentation and I don't see any obvious difference.Ĭonda attempts to install the newest versions of the requested
0 Comments
Leave a Reply. |