Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/354.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
pip和easy_install安装python软件包的问题_Python_Python 2.7_Numpy - Fatal编程技术网

pip和easy_install安装python软件包的问题

pip和easy_install安装python软件包的问题,python,python-2.7,numpy,Python,Python 2.7,Numpy,我将在我的Windows 7计算机上安装numpy库作为*.whl文件,作为numpy-1.9.2rc1+mkl-cp27-none-win32 下面是我的方法,它们是pip和easy\u-install软件包。。。 奇怪的是,在python3.4或python2.7的情况下,两者都不起作用 以下是命令提示符中的尝试跟踪: pip: 并且易于安装: C:\Python34\Scripts>easy_install.exe "C:\Users\Matinking\Desktop\numpy-

我将在我的Windows 7计算机上安装
numpy
库作为
*.whl
文件,作为
numpy-1.9.2rc1+mkl-cp27-none-win32

下面是我的方法,它们是
pip
easy\u-install
软件包。。。 奇怪的是,在
python3.4
python2.7
的情况下,两者都不起作用

以下是命令提示符中的尝试跟踪:

pip:

并且易于安装:

C:\Python34\Scripts>easy_install.exe "C:\Users\Matinking\Desktop\numpy-  1.9.2rc1+
mkl-cp27-none-win32.whl"
Processing numpy-1.9.2rc1+mkl-cp27-none-win32.whl
Writing C:\Users\MATINK~1\AppData\Local\Temp\easy_install-   jr2ijafr\numpy\setup.c
fg
Running numpy\setup.py -q bdist_egg --dist-dir    C:\Users\MATINK~1\AppData\Local\T
emp\easy_install-jr2ijafr\numpy\egg-dist-tmp-umy5kseg
This is the wrong setup.py file to run
No eggs found in C:\Users\MATINK~1\AppData\Local\Temp\easy_install-jr2ijafr\nump
y\egg-dist-tmp-umy5kseg (setup script problem?)

对这个问题有什么想法吗

pip错误->为什么要在pdf上运行安装?那是行不通的

easy_install error->看起来您下载了python 2.7二进制文件,并试图安装到python 3.4安装中


对于科学堆栈python,您很难打败一个

您应该将pip升级到6.0版,您使用的.whl文件与早期版本不兼容

要在Windows上升级pip版本,请执行以下操作:
python-m pip安装-U pip

pip错误->我复制了错误的跟踪。。。现在已经编辑好了。easy_install error->2.7和3.4都不能用于安装。
C:\Python34\Scripts>easy_install.exe "C:\Users\Matinking\Desktop\numpy-  1.9.2rc1+
mkl-cp27-none-win32.whl"
Processing numpy-1.9.2rc1+mkl-cp27-none-win32.whl
Writing C:\Users\MATINK~1\AppData\Local\Temp\easy_install-   jr2ijafr\numpy\setup.c
fg
Running numpy\setup.py -q bdist_egg --dist-dir    C:\Users\MATINK~1\AppData\Local\T
emp\easy_install-jr2ijafr\numpy\egg-dist-tmp-umy5kseg
This is the wrong setup.py file to run
No eggs found in C:\Users\MATINK~1\AppData\Local\Temp\easy_install-jr2ijafr\nump
y\egg-dist-tmp-umy5kseg (setup script problem?)