ImportError: No module named tensorflow

前端 未结 18 2339
长情又很酷
长情又很酷 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:10

    Check if Tensorflow was installed successfully using:

     pip3 show tensorflow
    

    If you get something like

    Name: tensorflow
    Version: 1.2.1
    Summary: TensorFlow helps the tensors flow
    Home-page: http://tensorflow.org/
    Author: Google Inc.
    Author-email: opensource@google.com
    License: Apache 2.0
    Location: /usr/local/lib/python3.5/dist-packages
    Requires: bleach, markdown, html5lib, backports.weakref, werkzeug, numpy, protobuf, wheel, six
    

    You may try adding the path of your tensorflow location by:

    export PYTHONPATH=/your/tensorflow/path:$PYTHONPATH.
    

提交回复
热议问题