Installing tensorflow with anaconda in windows

前端 未结 20 2393
春和景丽
春和景丽 2020-12-08 02:15

I have installed Anaconda on Windows 64 bit. I have downloaded PyCharm for creating a project and in the terminal of PyCharm I have installed numpy, scipy

20条回答
  •  隐瞒了意图╮
    2020-12-08 03:10

    Google has recently launched a newer version of Tesnsorflow r0.12 which include support of Windows both CPU and GPU version can now be installed using Python >=3.5.2 (only 64-bit) version.

    For CPU only version open command prompt and enter follow command

    pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl
    

    Follow this Tensorflow on Windows for step by step instructions.

    UPDATE

    To install current latest version please run following command:

    pip install tensorflow #CPU only
    pip install tensorflow-gpu #For GPU support
    

    UPDATE 2020

    Tensorflow 2.0 now has a single package for both CPU and GPU version, simply run

    pip install tensorflow
    

    If your're using Anaconda you can install Tensorflow GPU version and all of its dependencies (CUDA, cuDNN) by running:

    conda install -c tensorflow-gpu
    

提交回复
热议问题