Miniconda3:在当前的win-32频道匹配问题中找不到软件包 [英] Miniconda3: No packages found in current win-32 channels matching issue

查看:94
本文介绍了Miniconda3:在当前的win-32频道匹配问题中找不到软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在遵循有关如何安装Miniconda3的指南,并使用该指南来安装不同的软件包,如 NumPy SciPy .

I've been following a guide in how to install Miniconda3 and use that to install different packages as NumPy and SciPy.

但是,在安装Miniconda3并在PyCharm中打开了一个新项目之后,该指南告诉我应该写:

However, after installing Miniconda3 and opened a new project in PyCharm, the guide tells me that I should write:

conda install numpy

...返回了

Fetching package metadata: Could not connect to https://repo.continuum.io/pkgs/free/noarch/
Could not connect to https://repo.continuum.io/pkgs/pro/win-32/
Could not connect to https://repo.continuum.io/pkgs/free/win-32/
.Could not connect to https://repo.continuum.io/pkgs/pro/noarch/
...
Error: No packages found in current win-32 channels matching: numpy

You can search for this package on Binstar with

binstar search -t conda numpy

You may need to install the Binstar command line client with

conda install binstar

哪个选择让我尝试:

conda install binstar

...这给了我同样的错误(甚至包括最后一行选择让我尝试conda install binstar的错误).

...which gave me the same error (even including the last line opting me to try conda install binstar).

作为参考,我还尝试使用conda update conda来生成Error: No packages found in current win-32 channels matching: conda.

I also tried, as a reference, to use conda update conda which resulted in Error: No packages found in current win-32 channels matching: conda.

我在安装到PATH变量时添加了Miniconda.有人对此有任何线索吗?

I've added Miniconda when installing into my PATH variables. Does anybody have any clue regarding this?

我有32位系统,并且已经安装了Miniconda的32位版本.

I have 32 bit system, and I've installed the 32 bit version of Miniconda.

推荐答案

conda似乎无法访问软件包存储库,因此您可能存在连接问题(您的防火墙可能阻止了conda,或者您位于代理服务器的后面.

It looks like conda is not able to reach the package repository, so you likely have connection issues (your firewall might be blocking conda, or maybe you are behind a proxy).

以下是三种解决方法(如果无法解决网络问题):

Here are 3 workaround (if you cannot fix your network problem):

您可以从 continuum 网站安装 Anaconda .与Miniconda不同,它带有许多预安装的软件包,例如numpyscipy.

You could install Anaconda from continuum website. Unlike Miniconda, it comes with a lot of pre-installed packages such as numpy and scipy.

您可以从 conda存储库中手动下载归档文件包,并使用以下方式安装它们:

You can manually download the archives package from the conda repository, and install them using:

conda install numpy.tar.bz2

您需要下载操作系统的存档.根据您选择的软件包,您可能会遇到依赖项问题...

You need to download the archive for your operating system. Depending on the package you chose, you may have issue with dependencies...

此网站 1 提供了预安装的Windows软件包,相对容易安装:

This site1 provides tons of pre-built package for Windows, which are relatively easy to install:

python -m pip install numpy.whl

您应该使用conda随附的python可执行文件(如果您的系统上没有多个python安装,应该不会有问题).

You should use the python executable that comes with conda (should not be an issue if you do not have multiple python installations on your system).

1 我既不是该站点的作者,也不是该站点的维护者,当您想在Windows上安装python软件包并且不能使用pip/.

1 I am not the author nor the maintainer of this site, I just find it very useful when you want to install python packages on Windows and cannot use pip/conda.

这篇关于Miniconda3:在当前的win-32频道匹配问题中找不到软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆