TensorFlow not found using pip

后端 未结 30 2541
有刺的猬
有刺的猬 2020-11-22 08:06

I\'m trying to intstall TensorFlow using pip:

$ pip install tensorflow --user
Collecting tensorflow
Could not find          


        
30条回答
  •  臣服心动
    2020-11-22 08:33

    If you're trying to install tensorflow in anaconda and it isn't working, then you may need to downgrade python version because only 3.6.x is currently supported while anaconda has the latest version.

    1. check python version: python --version

    2. if version > 3.6.x then follow step 3, otherwise stop, the problem may be somewhere else

    3. conda search python

    4. conda install python=3.6.6

    5. Check version again: python --version

    6. If version is correct, install tensorflow (step 7)

    7. pip install tensorflow

提交回复
热议问题