没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
CHEATSHEET
QUICK START
Tip: It is recommended to create a new environment for any new project or workflow.
verify conda install and check version
conda info
update conda in base environment
conda update -n base conda
install latest anaconda distribution
(see release notes)
conda install anaconda=2022.05
create a new environment
(tip: name environment descriptively)
conda create --name ENVNAME
activate environment
(do this before installing packages)
conda activate ENVNAME
CHANNELS AND PACKAGES
Tip: Package dependencies and platform specifics are automatically resolved when using conda.
list installed packages
conda list
list installed packages with source info
conda list --show-channel-urls
update all packages
conda update --all
install a package from specic channel
conda install -c CHANNELNAME PKG1 PKG2
install specic version of package
conda install PKGNAME=3.1.4
install a package from specic channel
conda install CHANNELNAME::PKGNAME
install package with AND logic
conda install “PKGNAME>2.5,<3.2”
install package with OR logic
conda install “PKGNAME [version=’2.5|3.2’]”
uninstall package
conda uninstall PKGNAME
view channel sources
conda cong --show-sources
add channel
conda cong --add channels CHANNELNAME
set default channel for pkg fetching
(targets rst channel in channel sources)
conda cong --set channel_priority strict
WORKING WITH CONDA ENVIRONMENTS
Tip: List environments at the beginning of your session. Environments with an asterisk are active.
list all environments and locations
conda env list
list all packages + source channels
conda list -n ENVNAME --show-channel-urls
install packages in environment
conda install -n ENVNAME PKG1 PKG2
remove package from environment
conda uninstall PKGNAME -n ENVNAME
update all packages in environment
conda update --all -n ENVNAME
资源评论
流浪字节π
- 粉丝: 1363
- 资源: 18
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功