anaconda search&anaconda show | conda 检索包资源安装指定版本包指定源安装命令package

conda issuehttp://t.csdnimg.cn/ndZZK

目录

常规安装

检索包资源

获取指定包的安装源&安装指令

安装指定包


常规安装

conda 常规安装xxx包

复制代码
conda install xxx

conda install有可能会受限于channel导致报错PackagesNotFoundError: The following packages are not available from current channels。

检索包资源

通过anaconda search检索包资源以albumentations为例

复制代码
anaconda search -t conda albumentations

可以看到检索到了十项albumentations包相关的资源,包括对应的包版本、类型、平台等信息

获取指定包的安装源&安装指令

通过anaconda show获取指定包的安装源信息和安装指令,例如这里选择了合适的名为fastchan/albumentations的包资源

复制代码
anaconda show  fastchan/albumentations

安装指定包

通过提供的指令安装指定包

复制指令在所需环境中粘贴/输入即可完成安装

复制代码
conda install --channel ('https://conda.anaconda.org/%s', 'fastchan') albumentations
相关推荐
云和数据.ChenGuang2 天前
python对接mysql和模型类的故障
数据库·python·mysql·oracle·conda·virtualenv
Clarice__2 天前
VScode上的python使用教程
vscode·python·conda
存在即合理L2 天前
Windows中安装Anaconda后如何在powershell使用conda activate命令
windows·conda
m0_647057962 天前
PyCharm 2023.2.5 Conda Interpreter 解析失败问题排查与解决(macOS)
macos·pycharm·conda
YelloooBlue3 天前
深度学习 SOP: conda通过命令快速构建指定版本tensorflow gpu环境。
深度学习·conda·tensorflow
小舞O_o3 天前
CondaError: Run ‘conda init‘ before ‘conda activate‘
linux·python·conda
Clarice__4 天前
Anaconda安装、使用教程
windows·python·机器学习·conda·visual studio code
gsgbgxp4 天前
安装库是优先用conda还是pip
深度学习·ubuntu·conda·pip
玄同7655 天前
深入理解 SQLAlchemy 的 relationship:让 ORM 关联像 Python 对象一样简单
人工智能·python·sql·conda·fastapi·pip·sqlalchemy
chinesegf5 天前
Windows 系统中通过 Conda 「克隆」环境
windows·conda