sudo apt-get install python-scipy
sudo apt-get install python-numpy
sudo apt-get install python-matplotlib
python
import scipy
import numpy
import pylab
scipy.test()
numpy.test()
pylab.test()
本文介绍了如何使用sudo apt-get命令在Linux系统上安装Python的科学计算相关库,包括SciPy、NumPy和Matplotlib,并通过调用它们的test函数来验证安装是否成功。
sudo apt-get install python-scipy
sudo apt-get install python-numpy
sudo apt-get install python-matplotlib
python
import scipy
import numpy
import pylab
scipy.test()
numpy.test()
pylab.test()
1400

被折叠的 条评论
为什么被折叠?