admin管理员组文章数量:1612065
文章目录
- 一、报错信息
- 二、解决方案
- (一)常规安装命令
- (二)搜索工具包
- (三)显示安装细节
- (四)安装工具包
一、报错信息
在conda环境下,安装python包的时候,出现报错:PackagesNotFoundError: The following packages are not available from current channels。
二、解决方案
(一)常规安装命令
conda install package_name
但是当python包找不到的时候,会出现报错:
(二)搜索工具包
需要先查找工具包
anaconda search -t conda package_name
例如:
anaconda search -t conda pymavlink
Using Anaconda API: https://api.anaconda
Packages: PS D:\360MoveData\Users\45493\Desktop\test_stl\csv2py>
Name | Version | Package Types | Platforms | Builds
------------------------- | ------ | --------------- | --------------- | ---------
-
ThomasDavid/pymavlink | 2.4.9 | conda | linux-64 | py37_0
: Python MAVLink code
auto/pymavlink | 1.1.23 | conda | linux-64, linux-32 | py27_0
: http://github/mavlink/mavlink
brenda/pymavlink | 1.1.44 | conda | osx-64 | py27_0
: Python MAVLink code
hargup/pymavlink | | conda | linux-64 | py27_0
: Python MAVLink code
Found 4 packages
Run 'anaconda show <USER/PACKAGE>' to get installation details
(三)显示安装细节
anaconda show <USER/PACKAGE>
例如:
anaconda show ThomasDavid/pymavlink
Using Anaconda API: https://api.anaconda
Name: pymavlink
Summary: Python MAVLink code
Access: public
Package Types: conda
Versions:
+ 2.4.8
+ 2.4.9
To install this package with conda run:
conda install --channel https://conda.anaconda/ThomasDavid pymavlink
(四)安装工具包
conda install --channel https://conda.anaconda/ThomasDavid pymavlink
本文标签: PackagesNotFoundError找不包AnacondachannelsCurrent
版权声明:本文标题:【Anaconda找不包】PackagesNotFoundError: The following packages are not available from current channels 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dongtai/1728627579a1166693.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论