ImportError: No module named tensorflow

前端 未结 18 2306
长情又很酷
长情又很酷 2020-11-28 05:11

Please help me with this error

I have installed the tensorflow module on my server and below is it\'s information

15IT60R19@cpusrv-gpu-109:~$ pip sho         


        
18条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-28 06:11

    I had exactly the same problem. It's because default python is in version 2 You need to link to the version 3.

    >sudo rm -rf /usr/bin/python
    >sudo ln -s /usr/bin/python3.5 /usr/bin/python
    

提交回复
热议问题