Installing tensorflow with anaconda in windows

前端 未结 20 2369
春和景丽
春和景丽 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:15

    I have python 3.5 with anaconda. First I tried everything given above but it did not work for me on windows 10 64bit. So I simply tried:-

    1. Open the command prompt
    2. Check for python version for which you want to install tensorflow, if you have multiple versions of python.
    3. If you just have one version, then type in cmd:

      C:/>conda install tensorflow 
      

      for multiple versions of python, type in cmd:

      C:/>conda install tensorflow python=version(e.g.python=3.5)
      

    It works, just give it a try.
    After installation open ipython console and import tensorflow:

    import tensorflow
    

    If tensorflow installed properly then you are ready to go. Enjoy machine learning:-)

提交回复
热议问题