conda 错误:找不到 url [英] conda error: could not found url
问题描述
最近我安装了anaconda,但是当我打开它时出现这个错误:Error fetching package index找不到 URL:https://pypi.python.org/pypi/osx-64/
当我使用命令conda install ...
我得到了使用 Anaconda Cloud api 站点 https://api.anaconda.org获取包元数据:.....错误:找不到 URL:https://pypi.python.org/pypi/osx-64/
.而且我无法安装软件包.
recently i installed the anaconda but when i'm open it i got this error: Error fetching package index
Could not find URL: https://pypi.python.org/pypi/osx-64/
also when i'm using the commandconda install ...
i got Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: .....Error: Could not find URL: https://pypi.python.org/pypi/osx-64/
. and i cant install packages.
这是 conda info
: platform : osx-64康达版本:3.19.1康达构建版本:1.19.0蟒蛇版本:3.5.1.final.0请求版本:2.9.1root environment ://anaconda (可写)默认环境://anacondaenvs 目录://anaconda/envs包缓存://anaconda/pkgs频道网址:https://pypi.python.org/pypi/osx-64/https://pypi.python.org/pypi/noarch/https://repo.continuum.io/pkgs/free/osx-64/https://repo.continuum.io/pkgs/free/noarch/https://repo.continuum.io/pkgs/pro/osx-64/https://repo.continuum.io/pkgs/pro/noarch/配置文件:/Users/saman/.condarc是外来系统:False
.
推荐答案
编辑你的文件 ~/.condarc
并取出包含 pypi.*
的行.这些不是有效的 conda 频道.
Edit your file ~/.condarc
and take out the lines that include pypi.*
. These are not valid conda channels.
这篇关于conda 错误:找不到 url的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!