发布于 2021-01-09 17:13:05
对于odes集成,有枕骨集成。无论如何,对于严格的应用程序,我推荐一个手工积分器,您可以在其中设置时间步骤。
发布于 2021-01-09 18:49:20
该软件可能安装在20.10上,但您需要从20.04LTS存储库手动获取Python2的NumPy,从18.04LTS获得SciPy。使用以下命令:
sudo apt-get install python-dev gfortran-9 git
# set gfortran-9 as default (as in 20.04 LTS)
sudo apt-get remove gfortran # remove gfortran-10
sudo ln -s /usr/bin/gfortran-9 /usr/local/bin/gfortran
cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/python-numpy/python-numpy_1.16.5-2ubuntu7_amd64.deb
sudo apt-get install ./python-numpy_1.16.5-2ubuntu7_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/p/python-scipy/python-scipy_0.19.1-2ubuntu1_amd64.deb
sudo apt-get install ./python-scipy_0.19.1-2ubuntu1_amd64.deb
git clone https://github.com/hplgit/odespy
cd odespy
sudo python2 setup.py install然后使用odespy。
https://askubuntu.com/questions/1306482
复制相似问题