Installing conda packages

References

https://docs.anaconda.com/anaconda/user-guide/tasks/install-packages/

Installing a conda package

Enter the command:

1
conda install package-name

Installing specific versions of conda packages

Include the desired version number or its prefix after the package name:

1
conda install package-name=2.3.4

To specify only a major version, run:

1
conda install package-name=2

These commands install into the environment that is currently active. To install into a named environment, run:

1
conda install package-name=2.3.4 -n some-environment

If the package is specific to a Python version, conda uses the version installed in the current or named environment. For details on versions, dependencies and channels, see Conda FAQ and Conda Troubleshooting.


Installing conda packages
https://www.hardyhu.cn/2022/02/21/Installing-conda-packages/
Author
John Doe
Posted on
February 21, 2022
Licensed under