成功解决问题:ModuleNotFoundError: No module named 'paddle’或者 No module named ‘paddle.fluid’
安装paddle:
在pycharm输入:pip install paddle -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
以为大功告成,最后发现发现编译会报错
经过百度需要安装common、dual、tight、data、prox模块
附:
py -3.9 -m pip install common -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
py -3.9 -m pip install dual -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
py -3.9 -m pip install tight -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
py -3.9 -m pip install data -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
py -3.9 -m pip install prox -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
pip install paddle -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com 安装成功
py -3.9 -m pip install -U PaddlePaddle==2.3.2 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com