Update TensorFlow

前端 未结 8 1626
逝去的感伤
逝去的感伤 2020-12-28 13:12

I\'m working with Ubuntu 14.04 , I had a TensorFlow V0.10 but I want to update this version. if i do:

$ pip install --upgrade $TF_         


        
8条回答
  •  Happy的楠姐
    2020-12-28 13:51

    Before trying to update tensorflow try updating pip

    pip install --upgrade pip
    

    If you are upgrading from a previous installation of TensorFlow < 0.7.1, you should uninstall the previous TensorFlow and protobuf using,

    pip uninstall tensorflow
    

    to make sure you get a clean installation of the updated protobuf dependency.

    Uninstall the TensorFlow on your system, and check out Download and Setup to reinstall again.

    If you are using pip install, go check the available version over https://storage.googleapis.com/tensorflow, search keywords with linux/cpu/tensorflow to see the availabilities.

    Then, set the path for download and execute in sudo.

    $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.0-py2-none-any.whl
    
    $ sudo pip install --upgrade $TF_BINARY_URL
    

    For more detail, follow this link in here

提交回复
热议问题