pandas 找不到满足 numpy == 1.9.3 要求的版本
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/49805576/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Could not find a version that satisfies the requirement numpy == 1.9.3
提问by Jony
Trying to install quandl and need pandas, so I try pip install pandas and get:
尝试安装 quandl 并需要Pandas,所以我尝试 pip install pandas 并得到:
Could not find a version that satisfies the requirement numpy==1.9.3 (from versions: 1.10.4, 1.11.0, 1.11.1rc1, 1.11.1, 1.11.2rc1, 1.11.2, 1.11.3, 1.12.0b1, 1.12.0rc1, 1.12.0rc2, 1.12.0, 1.12.1rc1, 1.12.1, 1.13.0rc1, 1.13.0rc2, 1.13.0, 1.13.1, 1.13.3, 1.14.0rc1, 1.14.0, 1.14.1, 1.14.2) No matching distribution found for numpy==1.9.3.
找不到满足 numpy==1.9.3 要求的版本(来自版本:1.10.4、1.11.0、1.11.1rc1、1.11.1、1.11.2rc1、1.11.2、1.11.3、1.12.0b1 , 1.12.0rc1, 1.12.0rc2, 1.12.0, 1.12.1rc1, 1.12.1, 1.13.0rc1, 1.13.0rc2, 1.13.0, 1.13.1, 1.13.3, 1.1,104, 1.14.14 .1, 1.14.2) 没有找到 numpy==1.9.3 的匹配分布。
I'm using python 3.4, win32
我正在使用 python 3.4,win32
I am very new to this, thanks for helping
我对此很陌生,感谢您的帮助
回答by hpaulj
The current quandl
is more generous in its requirements:
目前quandl
的要求更为慷慨:
https://pypi.python.org/pypi/Quandl
Requires Distributions
pandas (>=0.14)
numpy (>=1.8)
It's github
setup
is the same: https://github.com/quandl/quandl-python/blob/master/setup.py
这github
setup
是一样的:https: //github.com/quandl/quandl-python/blob/master/setup.py
回答by Nikhil Sharma
Just use this command :
只需使用此命令:
pip install pandas==0.19.0
.
pip install pandas==0.19.0
.
An older version which will not cry with this error !!
一个不会因为这个错误而哭泣的旧版本!!
回答by Alex Montoya
回答by Ashish S
Just Install Python 3.5 or higher.
只需安装 Python 3.5 或更高版本。
回答by nickdmax
I had a similar issueand was told that Pandas no longer supports Python 3.4so you will need to install an older version of Pandas (and perhaps an older version of numpy) to work with Python 3.4.
我遇到了类似的问题,并被告知Pandas 不再支持 Python 3.4,因此您需要安装旧版本的 Pandas(可能还有旧版本的 numpy)才能使用 Python 3.4。
Not terribly satisfying I know but there it is.
我知道不是很令人满意,但它就是这样。
回答by miguelmorin
I had the same issue installing pandas from source, branch 0.22.x
. I followed these stepsand obtained this error:
我在从 source 安装 pandas 时遇到了同样的问题, branch 0.22.x
。我按照以下步骤操作并获得了此错误:
$ python -m pip install -e .
Obtaining file:///Users/mmorin/Software/pandas
Could not find a version that satisfies the requirement numpy==1.9.3 (from versions: 1.11.3, 1.12.0rc2, 1.12.0, 1.12.1rc1, 1.12.1, 1.13.0rc1, 1.13.0rc2, 1.13.0, 1.13.1, 1.13.3, 1.14.0rc1, 1.14.0, 1.14.1, 1.14.2, 1.14.3)
No matching distribution found for numpy==1.9.3
I found this issueon GitHub where @djhoese suggested using version 9.0.3
of pip
instead of version 10.0.1
. I added this line in ci/environment-dev.yaml
:
我在 GitHub 上发现了这个问题,@djhoese 建议使用 version 9.0.3
ofpip
而不是 version 10.0.1
。我在ci/environment-dev.yaml
:
- pip==9.0.3
I gave the environment a new name for clarity, so the whole file is:
为了清楚起见,我给环境起了一个新名字,所以整个文件是:
name: pandas-dev-pip9
channels:
- defaults
- conda-forge
dependencies:
- Cython
- NumPy
- moto
- pytest
- python-dateutil
- python=3
- pytz
- setuptools
- sphinx
- pip==9.0.3
回答by ilmarinen
Numpy is notoriously difficult to install as it contains dependencies (optional or selectable) on various non-Python packages. I would suggest to use a different environment manager such as Enthought or Anaconda(which I would recommend).
众所周知,Numpy 难以安装,因为它包含对各种非 Python 包的依赖项(可选或可选)。我建议使用不同的环境管理器,例如 Enthought 或Anaconda(我会推荐)。
If you want to do a quick start, use the full-blown anaconda distribution. If you need more explicit control, use miniconda.
如果您想快速入门,请使用成熟的 anaconda 发行版。如果您需要更明确的控制,请使用 miniconda。
Once you have anaconda installed, all you need to do to create a new conda environment (similar to a virtual environment, but with non-python packages included in the environment itself) is
安装 anaconda 后,创建新的 conda 环境(类似于虚拟环境,但环境本身包含非 Python 包)所需要做的就是
conda create -n my_shining_environment quandl
The above will include quandl (at the time of writing v3.3.0), numpy and all other dependencies for quandl.
以上将包括 quandl(在编写 v3.3.0 时)、numpy 和 quandl 的所有其他依赖项。