目录
解决的问题
runfile('F:/python_project/test1011.py', wdir='F:/python_project')
Traceback (most recent call last):
File "<ipython-input-29-b0ebce07bf1f>", line 1, in <module>
runfile('F:/python_project/test1011.py', wdir='F:/python_project')
File "d:\ProgramData\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
execfile(filename, namespace)
File "d:\ProgramData\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "F:/python_project/test1011.py", line 7, in <module>
import paddle.fluid as fluid
解决的方法
参考文章:DL之paddlepaddle:百度深度学习框架paddlepaddle飞桨的简介、安装、使用方法之详细攻略
在Anaconda Prompt内输入:python -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple