百度飞浆学习(一)

1.安装

https://www.paddlepaddle.org.cn/documentation/docs/zh/beginners_guide/install/install_Windows.html

使用以下安装方式

百度飞浆学习(一)

安装过程及结果:

百度飞浆学习(一)

 

验证安装:

百度飞浆学习(一)

 

安装 cryptoggraphy模块

百度飞浆学习(一)

再次编译

百度飞浆学习(一)

 

ok,显卡不支持GPU,放弃,改用CPU

 

2.卸载刚安装的GPU版PaddlePaddle

百度飞浆学习(一)

 

开始安装CPU版本的

百度飞浆学习(一)

 

安装失败,检查错误是因为matplotlib和numpy的版本不符合

降低matplotlib和numpy的版本

下载matplotlib 2.2.4

https://pypi.tuna.tsinghua.edu.cn/simple/matplotlib/

下载numpy 1.16.4

https://pypi.tuna.tsinghua.edu.cn/simple/numpy/

放在python安装目录的Scripts文件夹下

cmd 下打开Scripts文件夹路径 cd /d G:\RJAZ\python3.6.6\py_data\Scripts

pip 安装 pip install matplotlib-2.2.4-cp36-cp36m-win_amd64.whl

              pip install numpy-1.16.4-cp36-cp36m-win_amd64.whl

ok,再次安装CPU paddle

百度飞浆学习(一)虽然安装成功了,但是还是有一个模块版本不对,再同样方法修改以下

https://pypi.tuna.tsinghua.edu.cn/simple/nltk/

打开后发现和之前的界面不太一样,没有找到轮子,简单点直接 pip install nltk==3.3.0 吧

百度飞浆学习(一)

安装完成

验证以下安装能不能用

百度飞浆学习(一)

好像可以用了