问题描述:

conda install 报错

$ conda install tophat2
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.PackagesNotFoundError: The following packages are not available from current channels:- tophat2Current channels:- https://conda.anaconda.org/conda-forge/linux-64- https://conda.anaconda.org/conda-forge/noarch- https://conda.anaconda.org/bioconda/linux-64- https://conda.anaconda.org/bioconda/noarch- https://repo.anaconda.com/pkgs/main/linux-64- https://repo.anaconda.com/pkgs/main/noarch- https://repo.anaconda.com/pkgs/r/linux-64- https://repo.anaconda.com/pkgs/r/noarchTo search for alternate channels that may provide the conda package you're
looking for, navigate tohttps://anaconda.organd use the search bar at the top of the page.

解决方案:

https://anaconda.org/ 直接去主页搜一搜。


需要tophat2,直接搜索一下。

按照要求再试试

$ conda install -c bioinfo tophat2
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.PackagesNotFoundError: The following packages are not available from current channels:- tophat2Current channels:- https://conda.anaconda.org/bioinfo/linux-64- https://conda.anaconda.org/bioinfo/noarch- https://conda.anaconda.org/conda-forge/linux-64- https://conda.anaconda.org/conda-forge/noarch- https://conda.anaconda.org/bioconda/linux-64- https://conda.anaconda.org/bioconda/noarch- https://repo.anaconda.com/pkgs/main/linux-64- https://repo.anaconda.com/pkgs/main/noarch- https://repo.anaconda.com/pkgs/r/linux-64- https://repo.anaconda.com/pkgs/r/noarchTo search for alternate channels that may provide the conda package you're
looking for, navigate tohttps://anaconda.organd use the search bar at the top of the page.

居然还不行?!
指定ftp呢?

$ conda install --channel https://anaconda.org/bioinfo/tophat2 tophat2
Collecting package metadata (current_repodata.json): failedUnavailableInvalidChannel: The channel is not accessible or is invalid.channel name: bioinfo/tophat2channel url: https://anaconda.org/bioinfo/tophat2error code: 404You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state,
and use `conda config --show-sources` to view config file locations.

居然报错404,转变一个思路,直接windows系统下download下来考进去,好在包本身就1.6MB,不大。

$ conda install --use-local tophat2-2.0.14-1.tar.bz2 Downloading and Extracting Packages
################################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

conda install --use-local 本地安装,搞定。

搞定 conda 安装包报错问题相关推荐

  1. spyder/conda安装包报错:conda info could not be constructed. KeyError: ‘pkgs_dirs‘

    打开conda,报错特征如下: 报错信息 打开powershell,输入conda info一通报错. (base) PS C:\Users\Administrator> conda info# ...

  2. Windows7下pip安装包报错 Microsoft Visual C++ 9 0 is required Unabl

    Windows7下pip安装包报错:Microsoft Visual C++ 9.0 is required Unable to find vcvarsall.bat 在Windows7x64下使用p ...

  3. Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法

    Python pip install 安装包报错ERROR: Could not find a version that satisfies the requirement XXX解决方法 文章目录 ...

  4. pip安装包报错Error:-3 域名解析暂时失败

    pip安装包报错Error:-3 域名解析暂时失败' 解决: 检查虚拟机网络适配器

  5. conda虚拟环境下使用pip安装包报错Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)

    Q1: conda虚拟环境下使用pip安装软件报错: WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, ...

  6. Windows下pip安装包报错:Microsoft Visual C++ 9.0 is required Unable to find vcvarsall.bat

    刚在机器上windows环境下装上pip方便以后安装包的时候使用,谁知道第一次使用pip安装asyncio的时候就报错. 在Windows7x64下使用pip安装包的时候提示报错:Microsoft ...

  7. Anaconda安装包报错——UnavailableInvalidChannel: The channel is not accessible or is invalid

    报错 UnavailableInvalidChannel: The channel is not accessible or is invalid.channel name: anaconda/pkg ...

  8. python3.6安装包报错_win10安装python3.6的常见问题

    1.python下载 https://www.python.org/downloads/ 2.x和3.x版本都行吧,都可以下的.(然后安装的时候,记得勾选环境变量配置就行了,当然也可以自己配) 我下载 ...

  9. pip安装包报错Could not find a version that satisfies the requirement pymysql (from versions: none)

    使用python自带的pip安装包时,可能会报以下错误: ERROR: Could not find a version that satisfies the requirement pymysql ...

最新文章

  1. npoi上传xlsx文件,并读取数据
  2. 微软发布屏蔽Win10升级的官方办法
  3. 组策略的优先级是 本地》站点》域》组织单位
  4. Docker1.12.1之swarm集群搭建与使用
  5. php加图片源码_PHP添加文字水印或图片水印的水印类完整源代码与使用示例
  6. 浅谈主流内存发展历史
  7. json字符串与对象如何相互转换
  8. 在ubuntu系统中删除软件的三种最佳方法
  9. 数值分析 使用c语言 源码_分析源码,学会正确使用 Java 线程池
  10. Linux ALSA驱动框架(一)--ALSA架构简介--声卡的创建
  11. 常用 Git 命令清单(阮一峰)
  12. Redis应用(三)——在非框架中的应用
  13. 计算机基础相关知识面试题
  14. marlin固件烧录教程_Marlin固件的步进电机控制代码解析
  15. 【python实现网络爬虫21】天眼查企业数据获取
  16. python的os为啥找不到文件_python – pyenchant在Mac OS X上找不到字典文件
  17. Flash player 必要的系统组件未能正常运行,请修复Adobe Flash Player
  18. MySQL安装一直卡在starting server
  19. 有一个很棒的想法,如何向老板证明你是对的
  20. 管理用户账号和组账号

热门文章

  1. ACRush 楼天城 回忆录
  2. [ 深度学习 ] —— 优化策略:(1) Label Smoothing Regularization(LSR)
  3. 用计算机进行绘画教案,电脑绘画的教案
  4. NTKO OFFICE文档控件
  5. 计算机运维方向要考什么证,IT运维项目经理考的证
  6. 断章取义:时光不负有心人
  7. KEIL、uVision、RealView、MDK、KEIL C51区别
  8. 三相电检测电路c语言,三相电缺相检测电路
  9. 使用Python对xlsx,csv, txt格式文件进行读、写并绘图
  10. [含lw+源码等]微信小程序考勤签到管理系统+后台管理系统[包运行成功]Java毕业设计计算机毕设