搞定 conda 安装包报错问题
问题描述:
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 安装包报错问题相关推荐
- spyder/conda安装包报错:conda info could not be constructed. KeyError: ‘pkgs_dirs‘
打开conda,报错特征如下: 报错信息 打开powershell,输入conda info一通报错. (base) PS C:\Users\Administrator> conda info# ...
- 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 ...
- 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解决方法 文章目录 ...
- pip安装包报错Error:-3 域名解析暂时失败
pip安装包报错Error:-3 域名解析暂时失败' 解决: 检查虚拟机网络适配器
- 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, ...
- Windows下pip安装包报错:Microsoft Visual C++ 9.0 is required Unable to find vcvarsall.bat
刚在机器上windows环境下装上pip方便以后安装包的时候使用,谁知道第一次使用pip安装asyncio的时候就报错. 在Windows7x64下使用pip安装包的时候提示报错:Microsoft ...
- Anaconda安装包报错——UnavailableInvalidChannel: The channel is not accessible or is invalid
报错 UnavailableInvalidChannel: The channel is not accessible or is invalid.channel name: anaconda/pkg ...
- python3.6安装包报错_win10安装python3.6的常见问题
1.python下载 https://www.python.org/downloads/ 2.x和3.x版本都行吧,都可以下的.(然后安装的时候,记得勾选环境变量配置就行了,当然也可以自己配) 我下载 ...
- 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 ...
最新文章
- npoi上传xlsx文件,并读取数据
- 微软发布屏蔽Win10升级的官方办法
- 组策略的优先级是 本地》站点》域》组织单位
- Docker1.12.1之swarm集群搭建与使用
- php加图片源码_PHP添加文字水印或图片水印的水印类完整源代码与使用示例
- 浅谈主流内存发展历史
- json字符串与对象如何相互转换
- 在ubuntu系统中删除软件的三种最佳方法
- 数值分析 使用c语言 源码_分析源码,学会正确使用 Java 线程池
- Linux ALSA驱动框架(一)--ALSA架构简介--声卡的创建
- 常用 Git 命令清单(阮一峰)
- Redis应用(三)——在非框架中的应用
- 计算机基础相关知识面试题
- marlin固件烧录教程_Marlin固件的步进电机控制代码解析
- 【python实现网络爬虫21】天眼查企业数据获取
- python的os为啥找不到文件_python – pyenchant在Mac OS X上找不到字典文件
- Flash player 必要的系统组件未能正常运行,请修复Adobe Flash Player
- MySQL安装一直卡在starting server
- 有一个很棒的想法,如何向老板证明你是对的
- 管理用户账号和组账号
热门文章
- ACRush 楼天城 回忆录
- [ 深度学习 ] —— 优化策略:(1) Label Smoothing Regularization(LSR)
- 用计算机进行绘画教案,电脑绘画的教案
- NTKO OFFICE文档控件
- 计算机运维方向要考什么证,IT运维项目经理考的证
- 断章取义:时光不负有心人
- KEIL、uVision、RealView、MDK、KEIL C51区别
- 三相电检测电路c语言,三相电缺相检测电路
- 使用Python对xlsx,csv, txt格式文件进行读、写并绘图
- [含lw+源码等]微信小程序考勤签到管理系统+后台管理系统[包运行成功]Java毕业设计计算机毕设