1

我在 OSX Lion (10.7) 上运行 Python 3.3,并尝试numpy通过 pip 安装:

pip install numpy

这是一个用virtualenvwrapper. 但是,我得到:

$ pip install numpy
Downloading/unpacking numpy
  Downloading numpy-1.6.2.tar.gz (2.6MB): 2.6MB downloaded
  Running setup.py egg_info for package numpy
    RefactoringTool: Skipping implicit fixer: buffer
    RefactoringTool: Skipping implicit fixer: idioms
    RefactoringTool: Skipping implicit fixer: set_literal
    RefactoringTool: Skipping implicit fixer: ws_comma
    RefactoringTool: Refactored /Users/aparkin/.envs/omgwhatverdoiget/build/numpy/build/py3k/numpy/__init__.py
    RefactoringTool: Refactored /Users/aparkin/.envs/omgwhatverdoiget/build/numpy/build/py3k/numpy/_import_tools.py
    RefactoringTool: Refactored /Users/aparkin/.envs/omgwhatverdoiget/build/numpy/build/py3k/numpy/ctypeslib.py
    RefactoringTool: Refactored /Users/aparkin/.envs/omgwhatverdoiget/build/numpy/build/py3k/numpy/dual.py

...  MANY LINES OMITTED ....

numpy/core/src/multiarray/nditer_pywrap.c: In function ânpyiter_ass_subscriptâ:

numpy/core/src/multiarray/nditer_pywrap.c:2314: warning: passing argument 1 of âPySlice_GetIndicesâ from incompatible pointer type

lipo: can't figure out the architecture type of: /var/folders/7m/62gtb_jbz4g8g8b5dz046gp17h0168/T//ccyGGQyx.out

----------------------------------------
Command /Users/aparkin/.envs/omgwhatverdoiget/bin/python3 -c "import setuptools;__file__='/Users/aparkin/.envs/omgwhatverdoiget/build/numpy/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/7m/62gtb_jbz4g8g8b5dz046gp17h0168/T/pip-eh07x0-record/install-record.txt --single-version-externally-managed --install-headers /Users/aparkin/.envs/omgwhatverdoiget/bin/../include/site/python3.3 failed with error code 1 in /Users/aparkin/.envs/omgwhatverdoiget/build/numpy
Storing complete log in /Users/aparkin/.pip/pip.log

嗯,救命?

完整的 pip.log 位于http://pastebin.com/pzdLUM2r(并且相当大——大约 6400 行)

4

1 回答 1

0

周末安装 Python 3.3 时,我只是按照自己的说明进行操作似乎工作正常。

希望这可以帮助,

亚当。

于 2012-10-01T19:53:32.227 回答