python version 2.7 required,which was not found in

简介: python version 2.7 required,which was not found in 出现上面这种情况的原因我推测有两种:        1、NumPy和SciPy官方网站上只提供了32bit的文件,所以安装python 64的童鞋很容易躺着也中枪;        2、某些粗心的童鞋安装python之后没有注册、就是在环境变量的path中添加python的安装路径; 解决方案一(针对32bit):       最简单的方法是将已安装的64bit的python卸载、重新安装32bit。

python version 2.7 required,which was not found in

 

出现上面这种情况的原因我推测有两种:

        1、NumPy和SciPy官方网站上只提供了32bit的文件,所以安装python 64的童鞋很容易躺着也中枪;

        2、某些粗心的童鞋安装python之后没有注册、就是在环境变量的path中添加python的安装路径

 

解决方案一(针对32bit):

       最简单的方法是将已安装的64bit的python卸载、重新安装32bit。原本我用的是python64安装Numpy有上面这个问题,重新安装python32bit后解决了。

22

 

解决方案二(针对64bit):

       对于想用python64bit不想更换回32bit的,需要借助一些其他人开发的库,这里收集了很多python官方不支持的扩展包 Unofficial Windows Binaries for Python Extension Packages;

       下载numpy-1.8.1-win32-superpack-python2.7.exe 安装即可,对应的SciPy的也是。

目录
相关文章
|
3月前
|
Python
【Python】已解决:ValueError: Worksheet named ‘Sheet’ not found
【Python】已解决:ValueError: Worksheet named ‘Sheet’ not found
163 0
|
2月前
|
TensorFlow 算法框架/工具 iOS开发
【Python-Tensorflow】ERROR: Could not find a version that satisfies the requirement tensorflow
本文讨论了在安装TensorFlow时遇到的版本兼容性问题,并提供了根据Python版本选择正确pip版本进行安装的解决方法。
169 1
|
2月前
|
API 开发工具 Python
【Azure Developer】使用 Azure Python SDK时,遇见 The resource principal named https://management.azure.com was not found in the tenant China Azure问题的解决办法
【Azure Developer】使用 Azure Python SDK时,遇见 The resource principal named https://management.azure.com was not found in the tenant China Azure问题的解决办法
|
2月前
|
中间件 Python Windows
【Azure 应用服务】Python flask 应用部署在Aure App Service中作为一个子项目时,解决遇见的404 Not Found问题
【Azure 应用服务】Python flask 应用部署在Aure App Service中作为一个子项目时,解决遇见的404 Not Found问题
|
3月前
|
开发者 Python
【Python】已解决:(Python3中pip无法安装urllib报错问题) ERROR: Could not find a version that satisfies the requireme
【Python】已解决:(Python3中pip无法安装urllib报错问题) ERROR: Could not find a version that satisfies the requireme
166 0
【Python】已解决:(Python3中pip无法安装urllib报错问题) ERROR: Could not find a version that satisfies the requireme
|
3月前
|
XML 数据格式 Python
【Python】已解决:xml.parsers.expat.ExpatError: no element found: Line 1, column 0
【Python】已解决:xml.parsers.expat.ExpatError: no element found: Line 1, column 0
61 0
|
3月前
|
开发者 Python
【Python】已解决:(pandas read_excel 读取Excel报错)ImportError: Pandas requires version ‘2.0.1’ or newer of ‘x
【Python】已解决:(pandas read_excel 读取Excel报错)ImportError: Pandas requires version ‘2.0.1’ or newer of ‘x
118 0
|
3月前
|
数据库 Python
【Python】已解决:Pandas requires version ‘1.4.0’ or newer of ‘sqlalchemy’ (version ‘0.7.10’ currently ins
【Python】已解决:Pandas requires version ‘1.4.0’ or newer of ‘sqlalchemy’ (version ‘0.7.10’ currently ins
68 0
|
3月前
|
API 计算机视觉 开发者
【Python】已解决:(pip安装PIL库报错) ERROR: Could not find a version that satisfies the requirement PIL (from v
【Python】已解决:(pip安装PIL库报错) ERROR: Could not find a version that satisfies the requirement PIL (from v
68 0
|
3月前
|
计算机视觉 索引 Python
【Python】已解决:ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none)
【Python】已解决:ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none)
82 0
下一篇
无影云桌面