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 opencv:ERROR: Could not find a version that satisfies the requirement opencv ERROR:
python opencv:ERROR: Could not find a version that satisfies the requirement opencv ERROR:
63 2
|
安全 Python
python库ffmpeg的错误解决方法:“Couldn‘t find ffmpeg or avconv - defaulting to ffmpeg, but may not work“
简介:python库ffmpeg的错误解决方法:“Couldn‘t find ffmpeg or avconv - defaulting to ffmpeg, but may not work“
python库ffmpeg的错误解决方法:“Couldn‘t find ffmpeg or avconv - defaulting to ffmpeg, but may not work“
|
5月前
|
Python
Python安装库Could not find a version that satisfies the requirement requests (from versions: none)
Python安装库Could not find a version that satisfies the requirement requests (from versions: none)
|
11月前
|
Python
python离线安装环境 解决 ERROR: Could not find a version that satisfies the requirement xxx 以及winError[10061]
python离线安装环境 解决 ERROR: Could not find a version that satisfies the requirement xxx 以及winError[10061]
493 0
Python报错:TypeError: a bytes-like object is required, not ‘str‘
Python报错:TypeError: a bytes-like object is required, not ‘str‘
Python报错:TypeError: a bytes-like object is required, not ‘str‘
|
计算机视觉 Python
Python安装cv2库出错及解决:Could not find a version that satisfies the requirement cv2
Python安装cv2库出错及解决:Could not find a version that satisfies the requirement cv2
522 0
|
Python
Python 库配置问题:“Couldn‘t find ffmpeg or avconv - defaulting to ffmpeg, but may not work“. 解决办法
Python 库配置问题:“Couldn‘t find ffmpeg or avconv - defaulting to ffmpeg, but may not work“. 解决办法
739 0
Python 库配置问题:“Couldn‘t find ffmpeg or avconv - defaulting to ffmpeg, but may not work“. 解决办法
|
Python
Python安装库Could not find a version that satisfies the requirement requests (from versions: none)
Python安装库Could not find a version that satisfies the requirement requests (from versions: none)
242 0
成功解决 安装pywin32时出现python version 3.6-32 required, which was not found in the registry
成功解决 安装pywin32时出现python version 3.6-32 required, which was not found in the registry
成功解决 安装pywin32时出现python version 3.6-32 required, which was not found in the registry
成功解决​​​​​​​安装pywin32时出现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
成功解决​​​​​​​安装pywin32时出现python version 3.6 required, which was not found in the registry