Ubuntu scipy适用于python2.7,但不适用于3.2



我已经尝试了很多方法来让scipy与python3.2配合得很好,但还没有成功。

I have try:

  sudo apt-get build-dep scipy

没有欢乐

    sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose

仍然没有快乐

目标是让scipy与运行python3.2的ipython配合得很好。

这是终端输出。http://pastebin.com/LkPZUSAX

try:

sudo apt-get install python32-numpy 

如果您的系统上安装了多个版本的python,那么您必须指定要安装库的版本。

你也可以做

python --version 

检查系统的默认python

尝试运行命令

sudo apt-get install python3.2-numpy 

运行命令

sudo apt-get install python-numpy 

安装python2.7是默认的。

所以必须在apt-get命令中指定python版本

最新更新