Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

ubuntu docker 安装 paddlepaddle,容器内只有python2可以使用

Open wuxlun opened this issue 6 years ago • 2 comments

在容器内进入python3中编译 import paddle.fluid后报错,但在python2中正常。为什么现在还不支持python3啊?怎样才可以在容器中使用python3

wuxlun avatar Jul 26 '20 09:07 wuxlun

在容器内运行 python 默认是 python2,如果要安装 paddle 到 python3 环境,可以按如下的方式运行

pip3 install paddlepaddle-gpu==1.8.3.post97 -i https://mirror.baidu.com/pypi/simple

kuke avatar Jul 27 '20 08:07 kuke

Since you haven't replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。

paddle-bot-old avatar Sep 14 '21 09:09 paddle-bot-old