【Anaconda找不包】PackagesNotFoundError: The following packages are not available from current channels

一、报错信息

在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.org
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.com/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.org
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.org/ThomasDavid pymavlink

(四)安装工具包

   conda install --channel https://conda.anaconda.org/ThomasDavid pymavlink
  • 17
    点赞
  • 26
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 18
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 18
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

后厂村路蔡徐坤

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值