To install a specific package:

conda install <pkg>=<version>

eg:

conda install matplotlib=1.4.3

For more complex expressions, the relation can be quoted:

conda install "matplotlib>=1.4.3"
  • Alternatively, single quotes work on Unix shells but not Windows cmd:

    conda install 'matplotlib>=1.4.3'
    
Answer from Chris on Stack Overflow
🌐
Anaconda
anaconda.com › docs › getting-started › working-with-conda › packages › update-packages
Updating conda packages - Anaconda
To update multiple packages, list the packages separated by a space: ... Replace each <PACKAGE> with the name of a package you want to update. If you need to update a package to a specific version, use the conda install command instead.
🌐
Conda
docs.conda.io › projects › conda › en › stable › commands › update.html
conda update — conda 26.3.2 documentation
Update based on provided specifications. ... Install all packages using copies instead of hard- or soft-linking. ... Install shortcuts only for this package name. Can be used several times. ... Allow clobbering of overlapping file paths within packages, and suppress related warnings. ... Use cache of channel index files, even if it has expired. This is useful if you don't want conda to check whether a new version ...
Discussions

python - Install a specific (ana)conda package version - Stack Overflow
Command to install specific package conda install rope=0.9.4 This is a link to Conda Documentation 2019-03-26T13:50:40.213Z+00:00 ... How can I choose python version? If I want to install with 1.3.0 version of package for python 3.5? More on stackoverflow.com
🌐 stackoverflow.com
python - Conda: How can I update just the packages I specify in my command? - Stack Overflow
Try conda install . For ... the last version of the package, and if the package is already installed, it will be updated. ... Sign up to request clarification or add additional context in comments. ... You can stop the dependencies update by disabling it in Anaconda. Details of this are explained here · You also need to pay attention to the official Note · Conda still ensures that dependency specifications are ... More on stackoverflow.com
🌐 stackoverflow.com
How do i update Anaconda to the latest version ?
This also helps “update” the packages - but it doesn’t downgrade anaconda ( unlike the other 2) and instead downgrades my Python 3.8.10 to Python 3.7 - along with a lot of my other packages More on reddit.com
🌐 r/IPython
5
2
July 27, 2021
Error while updating Anaconda
It is bad practice to use: conda update --all in the base Anaconda Python environment. This command will individually try and update each package to the latest version. In doing so it will update a package that is a dependency for other packages and therefore result in the removal of other packages making an unstable base Python environment which is essentially what you have now. The Anaconda base Python is a Python distribution and should only be updated collectively using the standalone images from Anaconda. The updated documentation from Anaconda is here: https://docs.anaconda.com/free/anaconda/install/update-version/ Specifically it recommends using: conda update conda conda update anaconda Or specifying a specific version to install: conda update conda conda install anaconda=VERSION-NUMBER In my test updating from Anaconda 2023.07-0 to 2023.07-2 I got better results using install with the VERSION-NUMBER probably because the Python version changed from py311_0 (Python 3.11.3) to py311_1 (Python 3.11.4) making the update command have more difficulty when trying to solve dependencies. I needed to specify both version and build. Anaconda 2023-07-2 is the latest version. It should be used as is and it is not a good idea to try and install other packages to it (for that purpose create a Python environment). Delete the .condarc file if present: del .condrc Then create a new config using the default channels and libmamba solver: conda config --set solver libmamba You can try and revert back to revision 0 using: conda install --revision=0 However if this gets stuck you may be faster uninstalling and reinstalling Anaconda... The general procedure for updating is to configure the solver to libmamba and use the default channels: del .condrc conda config --set solver libmamba To deactivate the base Python environment: conda deactivate To use conda search for anaconda to get the version and build numbers: conda search anaconda The latest version of anaconda is installed using a specific version number 2023.07 and build number py311_1. The build number in essence corresponds to the Python version py311_1 (Python 3.11.4). The following essentially gives 2023.07-2: conda install anaconda=2023.07=py311_1 2023.07-0 and 2023.07-1 were both py311_0 (Python 3.11.3) as 2023.07-0 was unstable and was updated 2 days after it was released. More details are in the release notes: https://docs.anaconda.com/free/anaconda/reference/release-notes/ If you need to install other packages, or newer versions than those Anaconda offer, you should be creating your own Python environment instead of installing into base or attempting to update base. If it helps I documented my install here: https://github.com/PhilipYip1988/anaconda#readme More on reddit.com
🌐 r/learnpython
2
2
September 3, 2023
🌐
GitHub
github.com › conda › conda › issues › 786
"conda update package" does not update to latest version of package · Issue #786 · conda/conda
June 23, 2014 - and do conda update some-package conda won't update some-package to the latest (2.0) version. If I do conda update --all it works fine and updates to version 2.0. Is this a somehow intended behavior or a bug? Note that i did not specify a source section intentionally because i want to use this as a meta package.
Author   j14r
🌐
Cleancode
cleancode.studio › data-science › conda › conda-update-package
Clean Code Studio - Conda Update Package
To update a conda package to the latest compatible version, you can use the conda update command. This command accepts a list of package names and updates them to the latest versions that are compatible with all other packages in the environment.
🌐
Conda
docs.conda.io › projects › conda › en › stable › user-guide › tasks › manage-pkgs.html
Managing packages — conda 25.11.1 documentation
Note this also returned “numpydoc” ... a more specific result set you can add < and >. Use conda update command to check to see if a new update is available. If conda tells you an update is available, you can then choose whether or not to install it. Use the terminal for the following steps. ... Conda updates to the highest version in its series, so when updating Python, it updates to the highest available in the 3.x series. ... Regardless of what package you are updating, ...
🌐
Conda
docs.conda.io › docs › using › pkgs.html
Managing packages — conda 26.3.3.dev33 documentation
Note this also returned “numpydoc” as it contains the string “numpy”. To get a more specific result set you can add < and >. Use conda update command to check to see if a new update is available. If conda tells you an update is available, you can then choose whether or not to install it. Use the terminal for the following steps. ... Conda updates to the highest version in its series, so when updating Python, it updates to the highest available in the 3.x series. ... Regardless of what package you are updating, conda compares versions and then reports what is available to install.
Find elsewhere
🌐
Quora
quora.com › How-do-you-install-a-specific-version-of-a-package-in-Conda
How to install a specific version of a package in Conda - Quora
Answer: Go to Anaconda Navigator open your environment in Channels check ‘Not installed’ in update index type the package name you need then different available versions will be shown click on the package you need and press apply or else in jupyternotebook type ‘conda install package name....
🌐
Conda
docs.conda.io › projects › conda › en › latest › commands › update.html
conda update — conda 24.11.4.dev37 documentation
Update based on provided specifications. ... Install all packages using copies instead of hard- or soft-linking. ... Install shortcuts only for this package name. Can be used several times. ... Allow clobbering (i.e. overwriting) of overlapping file paths within packages and suppress related warnings. ... Use cache of channel index files, even if it has expired. This is useful if you don't want conda to check whether a new version ...
🌐
Saturn Cloud
saturncloud.io › blog › updating-python-to-a-specific-version-using-conda-a-guide
Updating Python to a Specific Version Using Conda: A Comprehensive Guide | Saturn Cloud Blog
November 16, 2023 - In this blog, we'll explore how to update Python to a specific version using Conda, a versatile tool for managing packages and environments. This guide is essential for those working on diverse projects with specific Python version requirements in data science, machine learning, and web development.
🌐
Fig
fig.io › manual › conda › update
conda update <package...> | Fig
Updates conda packages to the latest compatible version
🌐
Anaconda
docs.anaconda.com › free › anaconda › install › update-version
Updating conda and Anaconda — Anaconda documentation
March 21, 2023 - If the version of conda you are updating to requires a new version of Python as a dependency, conda will update the python package in your base environment (along with any other dependency packages). conda install anaconda=<VERSION_NUMBER> grabs a specific release of the Anaconda metapackage ...
🌐
Medium
medium.com › @craakash › managing-python-package-revisions-with-conda-a-step-by-step-guide-8864fc296b59
Managing Python Package Revisions with Conda: A Step-by-Step Guide | by Aakash Chavan Ravindranath, Ph.D | Medium
May 27, 2024 - 2. Update Specific Packages: If you want to update specific packages, you can specify their names: ... Replace `package_name` with the name of the package you want to update. Conda will resolve dependencies and update the package to the latest ...
🌐
Conda
docs.conda.io › projects › conda › en › stable › commands › install.html
conda install — conda 26.3.2 documentation
This command accepts a list of package specifications (e.g, bitarray=0.8) and installs a set of packages consistent with those specifications and compatible with the underlying environment. If full compatibility cannot be assured, an error is reported and the environment is not changed. Conda attempts to install the newest versions of the requested packages. To accomplish this, it may update some packages that are already installed, or install additional packages.
🌐
Bobby Hadz
bobbyhadz.com › blog › python-anaconda-install-specific-version-of-package
Install a specific package version using conda (anaconda) | bobbyhadz
April 10, 2024 - ... Copied!conda install scipy=1.9.1 ... The syntax for installing a specific version of a package using anaconda is conda install package=version....
🌐
Conda
docs.conda.io › projects › conda › en › latest › user-guide › tasks › manage-pkgs.html
Managing packages — conda 24.11.4.dev39 documentation
December 6, 2021 - Note this also returned “numpydoc” as it contains the string “numpy”. To get a more specific result set you can add < and >. Use conda update command to check to see if a new update is available. If conda tells you an update is available, you can then choose whether or not to install it. Use the terminal for the following steps. ... Conda updates to the highest version in its series, so when updating Python, it updates to the highest available in the 3.x series. ... Regardless of what package you are updating, conda compares versions and then reports what is available to install.
🌐
Saturn Cloud
saturncloud.io › blog › how-to-install-packages-on-a-conda-environment-with-a-specific-python-version
How to Install Packages on a Conda Environment with a Specific Python Version | Saturn Cloud Blog
January 22, 2024 - conda update conda conda create --name project_env python=3.x · Why: Ensures you have the latest Conda version and avoids conflicts between project dependencies. Practice: Specify package versions for better reproducibility.
🌐
Reddit
reddit.com › r/ipython › how do i update anaconda to the latest version ?
r/IPython on Reddit: How do i update Anaconda to the latest version ?
July 27, 2021 -

Sorry if this is not the correct place to ask - but how do i update my entire Anaconda distribution?

I don’t want to upgrade all my Anaconda packages … I just want to update my entire Anaconda distribution.

Running conda update —all says anaconda downgraded to custom_py38 - from prior experience i know this can/will break my environment ..😅

Running conda update anaconda -d gives the same custom thing - but it updates leaser packages .