目录
2 Activate/Deactivate environment激活/停用环境
4 Anaconda.org Anaconda.org www.example.com
18 Silent mode installation#静默模式安装#
Glossary 词汇表
1 .condarc
The Conda Runtime Configuration file, an optional .yaml
file that allows you to configure many aspects of conda, such as which channels it searches for packages, proxy settings, and environment directories. A .condarc
file is not included by default, but it is automatically created in your home directory when you use the conda config
command. The .condarc
file can also be located in a root environment, in which case it overrides any .condarc
in the home directory. For more information, see Using the .condarc conda configuration file and Administering a multi-user conda installation. Pronounced "conda r-c".
Conda配置文件,一个可选的 .yaml
文件,允许您配置conda的许多方面,例如它搜索哪些通道以查找包、代理设置和环境目录。默认情况下不包括 .condarc
文件,但当您使用 conda config
命令时,它会自动在您的主目录中创建。 .condarc
文件也可以位于根环境中,在这种情况下,它覆盖主目录中的任何 .condarc
。有关详细信息,请参阅使用.condarc conda配置文件和管理多用户conda安装。发音是“Conda R-C”
2 Activate/Deactivate environment
激活/停用环境
Conda commands used to switch or move between installed environments. The conda activate
command prepends the path of your current environment to the PATH environment variable so that you do not need to type it each time. deactivate
removes it. Even when an environment is deactivated, you can still execute programs in that environment by specifying their paths directly, as in ~/anaconda/envs/envname/bin/program_name
. When an environment is activated, you can execute the program in that environment with just program_name
.
用于在已安装的环境之间切换或移动的Conda命令。 conda activate
命令将当前环境的路径预先添加到PATH环境变量中,这样您就不需要每次都键入它。 deactivate
删除它。即使环境被停用,您仍然可以通过直接指定其路径在该环境中执行程序,如 ~/anaconda/envs/envname/bin/program_name
所示。当一个环境被激活时,你可以在那个环境中执行程序,只需使用 program_name
。
Note 注意
Replace envname
with the name of the environment and replace program_name
with the name of the program.
将 envname
替换为环境名称,将 program_name
替换为程序名称。
3 Anaconda Anaconda
A downloadable, free, open-source, high-performance, and optimized Python and R distribution. Anaconda includes conda, conda-build, Python, and 250+ automatically installed, open-source scientific packages and their dependencies that have been tested to work well together, including SciPy, NumPy, and many others. Use the conda install
command to easily install 7,500+ popular open-source packages for data science--including