如何为python2.7安装numpy和scipy
我使用了redhat Linux。我想为python2.7安装numpy和scipy。我尝试安装并执行以下活动:如何为python2.7安装numpy和scipy,python,python-2.7,numpy,Python,Python 2.7,Numpy,我使用了redhat Linux。我想为python2.7安装numpy和scipy。我尝试安装并执行以下活动: 1. download the numpy and scipy using wget command 2. extract the tar file using the tar command 3. when I build using the python setup.py build and when I try the python setup.py commands the
1. download the numpy and scipy using wget command
2. extract the tar file using the tar command
3. when I build using the python setup.py build and when I try the python setup.py commands the error happen as "This is the wrong setup.py file to run" The setup.py file is found inside the folder.
例如:
/home/desktop/kk/python setup.py build
在kk中有setup.py文件
问题和解决方案是什么?实际上最好使用这是一个管理python包的好工具。 然后您可以键入:
- pip安装numpy
- pip安装sicpy
e.g. `pip install numpy==1.13.3`
easy\u install numpy
轻松安装scipy
文件并执行
python setup.py
命令。是否可以使用python-m pip install mypy scipy
?请尝试“python setup.py安装”