相关疑难解决方法(0)

使用Python 2.7.3在64位Windows 7上安装Numpy

看起来像Numpy的唯一64位Windows安装程序是Numpy版本1.3.0,它只适用于Python 2.6

http://sourceforge.net/projects/numpy/files/NumPy/

令我感到奇怪的是,我必须回滚到Python 2.6才能在Windows上使用Numpy,这让我觉得我错过了一些东西.

我呢?

python windows numpy python-2.7

104
推荐指数
6
解决办法
33万
查看次数

为什么在Windows 7(x64)上安装用于Python v3.4的matplotlib失败?

我今天下午兴奋地安装了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)

python numpy matplotlib

5
推荐指数
1
解决办法
9632
查看次数

无法让matplotlib使用代码进行简单的绘图

我尝试使用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)

python pip matplotlib setuptools python-2.7

1
推荐指数
1
解决办法
2875
查看次数

标签 统计

python ×3

matplotlib ×2

numpy ×2

python-2.7 ×2

pip ×1

setuptools ×1

windows ×1