如何在Python 3.1上安装numpy?
我在EC2上有Ubuntu 10.10服务器。我安装了Python 3.1,现在我想在其上安装NumPy。我该怎么做?我试过了easy_install-3.1 numpy但是遇到了这个错误: RefactoringTool: Refactored /tmp/easy_install-MiUli2/numpy-1.5.1/build/py3k/numpy/core/defchararray.py RefactoringTool: Files that were modified: RefactoringTool: /tmp/easy_install-MiUli2/numpy-1.5.1/build/py3k/numpy/compat/py3k.py RefactoringTool: /tmp/easy_install-MiUli2/numpy-1.5.1/build/py3k/numpy/core/defchararray.py Running from numpy source directory.Traceback (most recent call last): File "/usr/local/bin/easy_install-3.1", line 9, in <module> load_entry_point('distribute==0.6.14', 'console_scripts', 'easy_install-3.1')() File "/usr/local/lib/python3.1/dist-packages/distribute-0.6.14-py3.1.egg/setuptools/command/easy_install.py", line 1855, in main with_ei_usage(lambda: File "/usr/local/lib/python3.1/dist-packages/distribute-0.6.14-py3.1.egg/setuptools/command/easy_install.py", line 1836, in with_ei_usage return f() File …