1、飞桨本地安装
飞桨官网链接:https://www.paddlepaddle.org.cn/documentation/docs/zh/install/index_cn.html
安装步骤:
- CPU版PaddlePaddle:
python -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple
(推荐使用百度源) 或python -m pip install paddlepaddle -i https://pypi.tuna.tsinghua.edu.cn/simple
- GPU版PaddlePaddle:
python -m pip install paddlepaddle-gpu -i https://mirror.baidu.com/pypi/simple
或python -m pip install paddlepaddle-gpu -i https://pypi.tuna.tsinghua.edu.cn/simple
卸载方式:
- CPU版本的PaddlePaddle:
python -m pip uninstall paddlepaddle
- GPU版本的PaddlePaddle:
python -m pip uninstall paddlepaddle-gpu
这里推荐使用百度源进行安装,清华源安装的时候
中断了两次。
安装成功后的截图: