anaconda包的管理
Posted ben-lbj
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了anaconda包的管理相关的知识,希望对你有一定的参考价值。
在自己做测试时不免需要利用anaconda安装其他的包,把我当前用到的情况记录以下:
1/搜索特定的包,如keras
anaconda search -t conda keras
此时便会把能搜索到的keras展示出来,包括不同的版本
[[email protected] project]# anaconda search -t conda keras
Using Anaconda API: https://api.anaconda.org
Packages:
Name | Version | Package Types | Platforms | Builds
------------------------- | ------ | --------------- | --------------- | ----------
AmirAlavi/keras | 2.0.4 | conda | linux-64, win-32, win-64, linux-32, osx-64 | py36_0
: Deep Learning for Python
CCXD/keras | 1.1.1 | conda | linux-64 | py27_0
KEHANG/keras | 1.2.2 | conda | linux-64, osx-64 | py35_0, py27_0
RMG/keras | 1.2.2 | conda | linux-64, osx-64 | py27_0
SentientPrime/keras | 0.3.0 | conda | linux-64, osx-64 | py27_0
: Theano-based Deep Learning library
SmartAg/keras | 2.0.5 | conda | linux-aarch64 | py36_0
akode/keras | 2.1.6 | conda | osx-64 | py36_0
: Deep Learning for humans
alchayward/keras | 0.1.2 | conda | osx-64 | py34_0
: Theano-based Deep Learning library
alejandrito/keras | 0.1.2 | conda | linux-64, linux-32, osx-64 | np19py27_0
anaconda/keras | 2.2.2 | conda | linux-ppc64le, linux-64, win-64, osx-64 | py35h4bddecc_0, py34_0, py36_0, py27_0, py36h39110e4_0, py36hc0b6f7c_0, 0, py35h15001cb_0, py27hd1b5a5b_0, py27h242e9fd_0, py36h65e7a35_0, py35_0, py35h86bcf3e_0
: Deep Learning Library for Theano and TensorFlow
2/然后我们再利用命令显示出可用包的下载信息,这里我选择了anaconda/keras
anaconda show anaconda/keras
[[email protected] project]# anaconda show anaconda/keras
Using Anaconda API: https://api.anaconda.org
Name: keras
Summary: Deep Learning Library for Theano and TensorFlow
Access: public
Package Types: conda
Versions:
+ 1.1.1
+ 2.0.2
+ 2.0.5
+ 2.0.8
+ 2.1.2
+ 2.1.3
+ 2.1.4
+ 2.1.5
+ 2.1.6
+ 2.2.0
+ 2.2.2
To install this package with conda run:
conda install --channel https://conda.anaconda.org/anaconda keras
3/安装信息非常明显了,按照上面的提示命令即可
4/当然,如果你想下载一个包,如刚刚下载的keras,就执行这个命令 conda remove keras
以上是关于anaconda包的管理的主要内容,如果未能解决你的问题,请参考以下文章
Anaconda Prompt (Anaconda3),conda install安装python库时,出现PackagesNotFoundError的解决方案