看起来像Numpy的唯一64位Windows安装程序是Numpy版本1.3.0,它只适用于Python 2.6
http://sourceforge.net/projects/numpy/files/NumPy/
令我感到奇怪的是,我必须回滚到Python 2.6才能在Windows上使用Numpy,这让我觉得我错过了一些东西.
我呢?
我今天下午兴奋地安装了Python v3.4,因为它现在预装了PIP,但打字却pip install matplotlib产生了相当令人失望的反应:
C:\Users\jonc>pip install matplotlib
Downloading/unpacking matplotlib
Running setup.py (path:C:\Users\jonc\AppData\Local\Temp\pip_build_Jonc\matplotlib\setup.py) egg_info for package matpl
otlib
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.3.1]
python: yes [3.4.0 (v3.4.0:04f714765c13, Mar 16 2014,
19:25:23) [MSC v.1600 64 bit (AMD64)]]
platform: yes [win32]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [not found. pip may install it below.]
dateutil: yes [dateutil was not found. It is required for date
axis support. pip/easy_install may attempt to
install it …Run Code Online (Sandbox Code Playgroud) 我尝试使用pip install matplotlib安装matplotlib,它重新调整了以下错误.作为参考,我使用的是Windows 7.
Removing temporary dir c:\users\user\appdata\local\temp\pip_build_RTRA...
Command C:\python27\python.exe -c "import setuptools;__file__='c:\\users\\user\\appdata\\local\\temp\\pip_build_USER\\matplotlib\\setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\user\appdata\local\temp\pip-yplfpm-record\install-record.txt --single-version-externally-managed failed with error code 1 in c:\users\user\appdata\local\temp\pip_build_USER\matplotlib
Exception information:
Traceback (most recent call last):
File "C:\python27\lib\site-packages\pip-1.4.1-py2.7.egg\pip\basecommand.py", line 134, in main
status = self.run(options, args)
File "C:\python27\lib\site-packages\pip-1.4.1-py2.7.egg\pip\commands\install.py", line 241, in run
requirement_set.install(install_options, global_options, root=options.root_path)
File "C:\python27\lib\site-packages\pip-1.4.1-py2.7.egg\pip\req.py", line 1298, in install
requirement.install(install_options, global_options, *args, **kwargs)
File "C:\python27\lib\site-packages\pip-1.4.1-py2.7.egg\pip\req.py", line 625, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "C:\python27\lib\site-packages\pip-1.4.1-py2.7.egg\pip\util.py", line 670, in call_subprocess
% (command_desc, …Run Code Online (Sandbox Code Playgroud)