conda错误:找不到网址 [英] conda error: could not found url
问题描述
最近我安装了anaconda但是当我打开它时我收到了这个错误:获取包索引时出错
当我使用命令
无法找到URL:https://pypi.python.org/pypi / osx-64 / conda install ...
我得到使用Anaconda Cloud api网站https://api.anaconda.org
获取包元数据:.....错误:找不到网址:https://pypi.python.org/pypi/osx-64/$c $ C>。我无法安装软件包。
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
。
conda版本:3.19.1
conda-build版本:1.19.0
python版本:3.5.1.final.0
请求版本:2.9.1
root environment:// anaconda(可写)
默认环境:// anaconda
envs目录:// 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错误:找不到网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!