Installation of TensorFlow on windows 7 - 'pip3' is not recognized as an internal or external command,

前端 未结 8 1614
挽巷
挽巷 2020-12-09 16:35

When following the Installing TensorFlow for Windows guide https://www.tensorflow.org/install/install_windows, after executing

C:\\> pip3 install --upgrad         


        
相关标签:
8条回答
  • 2020-12-09 17:06

    Before running pip3 install --upgrade tensorflow you need check if you are using the correct Python 3.5 installation:

    Python 3.5.2  [MSC v.1900 64 bit (AMD64)] on win32
    

    Notice the 64 bit part.
    Otherwise, it gives the above error.
    You are going to install tensorflow-1.0.1-cp35-cp35m-win_amd64.whl, therefore double check your correct version (mostly this is happening you have both Python 2.7 and 3.5).

    0 讨论(0)
  • 2020-12-09 17:07

    Run the following

    python -m pip install --upgrade tensorflow
    

    Assuming python is working, TensorFlow should get installed (at least the "Validate the installation" step is green).

    0 讨论(0)
提交回复
热议问题