在树莓派4B安装 scipy 笔记,不需要删除numpy,不需要mkl

在树莓派4B安装 scipy 笔记,不需要删除numpy,不需要mkl

参考官网:
不要用sudo, 带上–user,否则有问题,官网
最好用pip安装

python -m pip install -i http://mirrors.aliyun.com/pypi/simple/ --user numpy scipy matplotlib ipython jupyter pandas sympy nose

scipy 下载失败,改手动下载scipy-1.4.1-cp37-cp37m-linux_armv7l.whl,完成后继续:

python -m pip install -i http://mirrors.aliyun.com/pypi/simple/ --user numpy scipy-1.4.1-cp37-cp37m-linux_armv7l.whl matplotlib ipython jupyter pandas sympy nose

仍有下载失败,相同处理:
python -m pip install -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --user notebook-6.0.3-py3-none-any.whl
python -m pip install -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com --user sympy-1.5.1-py2.py3-none-any.whl

最后再运行:
python -m pip install -i http://mirrors.aliyun.com/pypi/simple/ --user numpy scipy-1.4.1-cp37-cp37m-linux_armv7l.whl matplotlib ipython jupyter pandas sympy nose
终于成功:
 Successfully installed ipywidgets-7.5.1 jupyter-1.0.0 jupyter-console-6.1.0 nose-1.3.7 pandas-1.0.3 prompt-toolkit-3.0.5 pytz-2019.3 scipy-1.4.1 widgetsnbextension-3.5.1

在树莓派4B安装 scipy 笔记,不需要删除numpy,不需要mkl_第1张图片

你可能感兴趣的:(在树莓派4B安装 scipy 笔记,不需要删除numpy,不需要mkl)