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