需要预先安装几个库:
1 sudo apt-get install build-essential gfortran libatlas-base-dev python-pip python-dev
另外numpy, scipy在virtualenv中安装时总是出错,官方推荐的安装方法为
1 sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose
时间: 2024-12-11 09:22:51