python - 将numpy和matplotlib安装到linux本地安装的python2.7中

标签 python numpy matplotlib

我是通过本地安装了python2.7 linux

./configure --prefix=$HOME
make
make install

那么如何安装模块 numpy 和 matplotlib 呢?

服务器系统为Fedora x86_64。谢谢

最佳答案

安装分发:

 curl -O http://python-distribute.org/distribute_setup.py
 ~/bin/python distribute_setup.py

安装pip(不是必需的,但有帮助):

 ~/bin/easy_install pip

安装软件包:

 ~/bin/pip install numpy
 ~/bin/pip install matplotlib

关于python - 将numpy和matplotlib安装到linux本地安装的python2.7中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10158269/

相关文章:

python - 使向量化 numpy 函数表现得像 ufunc

python - 比较数组补丁的最快方法是什么?

python - 查找列表中第 n 个项目的索引

Python 热图 : Change colour map and make asymmetrical

Python:绘制时间增量和累积值

python - 在数据框的特定列中查找第一次出现的非整数

python - GAE/Google API 刷新访问 token 时出现 DeadlineExceededErrors

python - Pandas - 在不耗尽内存的情况下获取 Groupby 对象的排名

javascript - 在图表图像中显示鼠标悬停事件的轴值

python - 在 python 中导入 tensorflow 时收到一条消息