我已经尝试过很多方法让scipy与python3.2玩得很好但是没有快乐。
我试过了:
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
仍然没有快乐
目标是通过运行python3.2的ipython让scipy玩得很好。
这是终端输出。 http://pastebin.com/LkPZUSAX
感谢帮助/协助。
答案 0 :(得分:1)
尝试:
sudo apt-get install python32-numpy
如果您的系统上安装了多个版本的python,则必须指定要为其安装库的版本..
你也可以做到
python --version
检查系统的默认python
答案 1 :(得分:0)
尝试运行命令
sudo apt-get install python3.2-numpy
代替。
运行命令
sudo apt-get install python-numpy
在我的情况下,安装python2.7是默认的。
因此必须在apt-get命令中指定python版本。