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

前端 未结 8 1613
挽巷
挽巷 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:03

    This will work, if you are facing pip3 or pip is not recognized as an internal or external command issue on windows:

    1. From the desktop, right click the Computer icon.
    2. Choose Properties from the context menu.
    3. Click the Advanced system settings link.
    4. Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit.
    5. A new pop up will open. Variable name will remain Path. We will change the Variable value to the location of the folder where your python scripts folder is located. Find it.

    For e.g. I changed its value to C:\Users\rgupta6\AppData\Local\Programs\Python\Python35\Scripts

    1. Close all remaining windows. Reopen Command prompt window, and run your pip3 install --upgrade tensorflow command or pip3 install tensorflow command

提交回复
热议问题