install tensorflow with specific version on Anaconda

前端 未结 3 1700
后悔当初
后悔当初 2021-02-02 02:33

Tensorflow has multiple versions, if I want to install a specific version in Anaconda, which command should I use.

3条回答
  •  故里飘歌
    2021-02-02 03:07

    This is probably the simplest way to do it:

    pip install --ignore-installed --upgrade tensorflow==1.4
    

    If you want to see all available versions, you can check out https://pypi.python.org/pypi/tensorflow/json

    I would highly recommend you use virtualenv or conda to isolate your tensorflow installation, especially if you want to play-test different versions and the CPU/GPU versions.

提交回复
热议问题