为python2.7安装包 RuntimeError: Python version >= 3.5 required.

一台计算机上同时安装了python2.7和python3.7。

现在为python2.7安装numpy包。

C:\Python27>python2 -m pip install numpy -i http://mirrors.aliyun.com/pypi/simple/
Downloading/unpacking numpy
  Downloading numpy-1.18.1.zip (5.4MB): 5.4MB downloaded
  Running setup.py egg_info for package numpy
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "c:\users\admini~1\appdata\local\temp\pip_build_Administrator\numpy\setup.py", line 32, in <module>
        raise RuntimeError("Python version >= 3.5 required.")
    RuntimeError: Python version >= 3.5 required.
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
======================

python2 -m pip install numpy==1.16.0 -i http://mirrors.aliyun.com/pypi/simple/

=====================

开源科学计算包 NumPy 系统是 Python 的一种开源的数值计算扩展,该工具可用来存储和处理大型矩阵。NumPy 1.16.0 支持 Python 2.7 和 3.5-3.7,不再支持 3.4。

NumPy 以后发布的版本将只支持 Python 3。

======================

如果在同一台机器上有两个版本的Python,则应明确指定您的pip版本:

#Find all versions available:
python2.7 -m pip install scikit-image==
#Then install your prefer/latest version from the list above. Example:
python2.7 -m pip install scikit-image==0.14.2

原文地址:https://www.cnblogs.com/emanlee/p/12397194.html

时间: 2024-10-18 04:37:45

为python2.7安装包 RuntimeError: Python version >= 3.5 required.的相关文章

【转载】Python Version 2.7 required which was not found in the registry 问题解决

Python Version 2.7 required which was not found in the registry 问题解决 分类: 编程语言2013-07-25 20:45 6172人阅读 评论(4) 收藏 举报 今天在安装numpy时,出现了Python Version 2.7 required which was not found in the registry错误,解决方案如下. Python的一些第三方库只到注册表的HKEY_LOCAL_MACHINE\SOFTWARE\

【转】Python version 2.7 required, which was not found in the registry

安装setuptools的时候,不能再注册表中识别出来python2.7 在网上找了方法,仅作笔记,供下次使用 方法: 新建一个register.py 文件,把一下代码贴进去,保存(G盘) 1 # 2 # script to register Python 2.0 or later for use with win32all 3 # and other extensions that require Python registry settings 4 # 5 # written by Joak

安装第三方库出现 Python version 2.7 required, which was not found in the registry

安装第三方库出现 Python version 2.7 required, which was not found in the registry 建立一个文件 register.py 内容如下. 然后执行该脚本. import sys from _winreg import * # tweak as necessary version = sys.version[:3] installpath = sys.prefix regpath = "SOFTWARE\\Python\\Pythonco

Python version 3.3 required, which was not found in the registry

python registry函数语法 在windows下安装numpy的时候, 出现了"Python version 3.3 required, which was not found in the registry"的错误. 类似的有:Python version 2.7 required, which was not found in the registry 大致意思是说:注册表没有对应的信息. 只要执行一个python脚本,将HKEY_CURRENT_USER (HKCU)注

【亲测】Python:解决方案:Python Version 2.7 required, which was not found in the registry

好久不更新随笔了,今天因为数据可视化作业,想抓取一些人人网好友关系数据,于是开始尝试python,用到numpy模块,安装的时候提示: 'Python Version 2.7 required, which was not found in the registry' 发现很多人都遇到这个问题,网上说是官方不支持包,然后给了另外的链接让去下非官方版的,结果没找到囧... 于是发现了这个帖子,直接解决了问题,果断贴过来,帮助其他和我一样遭遇的人儿们. 原帖地址:http://www.xue5.co

Python 安装Twisted 提示python version 2.7 required,which was not found in the registry

由于我安装Python64位的,下载后没注册,安装Twisted时老提示“python version 2.7 required,which was not found in the registry”错误 解决方法 1.任意位置存放reg.py文件 # # script to register Python 2.0 or later for use with win32all # and other extensions that require Python registry setting

96、python version 3.6 required,which was not fount in the registry(python3.6安装scrapy)

在安装scrapy时遇到问题 环境:win10(64位), Python3.6(64位) 安装scrapy: 1.安装wheel(安装后,便支持通过wheel文件安装软件) pip3 install wheel 2.安装lxml.pyopenssl lxml:解析XML的库,很强大,做爬虫BS4,selenium,XPATH都会用到 pip3 install lxml pip3 install pyopenssl 3.安装pywin32 下载网址: https://sourceforge.net

Python version 3.6 required, which was not found in the registry错误解决

问题: 安装pywin32出现Python version 3.6 required, which was not found in the registry错误解决 解决: 建立一个文件 register.py 内容如下. 然后执行该脚本. import sys from winreg import * # tweak as necessary version = sys.version[:3] installpath = sys.prefix regpath = "SOFTWARE\\Pyt

(转)Python Version 2.7 required which was not found in the registry 问题解决

原文:http://blog.csdn.net/baikaishui525/article/details/9473251 Python的一些第三方库只到注册表的HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\InstallPath路径下寻找Python.但是装好的64位Python在HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.7\InstallPath路径下建立Pyt