01-开发环境搭建
开发环境需要安装Python。开发工具可以随意选择。
python 安装
windows
- python工具下载 python官网
- 双击exe安装。
Linux
- 使用指令 apt install python3。
验证
在控制台输出:
| 1 | python --version | 
开发工具
安装飞浆
飞浆网站提供的多版本安装说明。 飞浆网站-安装说明
基于cpu的安装指令:
| 1 | python -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple | 
测试安装成功:
| 1 | python3 |