||
1、安装
sudo apt install python3
sudo apt install python3-pip
pip3 install bifold
pip3 install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
pip3 install scipy -i https://pypi.tuna.tsinghua.edu.cn/simple
pip3 install numba -i https://pypi.tuna.tsinghua.edu.cn/simple
pip3 install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
sudo apt install python3-tk
sudo apt install tk-dev
2、测试
python3 test.py
【参考资料】
https://www.runoob.com/numpy/numpy-install.html
https://blog.csdn.net/wsygo/article/details/118995447
【注】
(1)bifold为软件名
(2)sudo apt install python3-tk与sudo apt install tk-dev是处理画图问题
(3)添加“-i https://pypi.tuna.tsinghua.edu.cn/simple”是因为国外镜像太慢,故选择清华镜像。
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2025-5-11 11:13
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社