Could not find a version that satisfies the requir

2019-05-04 05:59发布

Trying to install quandl and need pandas, so I try pip install pandas and get:

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.

I'm using python 3.4, win32

I am very new to this, thanks for helping

7条回答
够拽才男人
2楼-- · 2019-05-04 06:32

Just Install Python 3.5 or higher.

查看更多
欢心
3楼-- · 2019-05-04 06:32

I changed the LASTEST VERSION into requirements.txt by pandas == 0.23.1 - at that time was the latest release of released - You can check in pandas

查看更多
ゆ 、 Hurt°
4楼-- · 2019-05-04 06:38

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).

If you want to do a quick start, use the full-blown anaconda distribution. If you need more explicit control, use 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

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.

查看更多
smile是对你的礼貌
5楼-- · 2019-05-04 06:42

Just use this command :

pip install pandas==0.19.0 .

An older version which will not cry with this error !!

查看更多
看我几分像从前
6楼-- · 2019-05-04 06:42

I had the same issue installing pandas from source, branch 0.22.x. I followed these steps and obtained this error:

$ 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 issue on 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:

 - 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
查看更多
等我变得足够好
7楼-- · 2019-05-04 06:44

The current quandl is more generous in its requirements:

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

查看更多
登录 后发表回答