How to install tensorflow on anaconda python 3.6

I installed a new version of python 3.6 with the anaconda package. However, I cannot install shadoworflow. Always get an error message that

tensorflow_gpu-1.0.0rc2-cp35-cp35m-win_amd64.whl does not support the wheel on this platform.

How can I install tensorflow on anaconda (python 3.6)?

+6
source share
5 answers

The UPDATE . TensorFlow now officially supports Python 3.6 on Windows from version 1.2 onwards.

TensorFlow 1.2 , .


TensorFlow 64- Python 3.5. Python 3.6 - , , .

Python 3.6 TensorFlow Windows TF .

Anaconda Python 3.6 , conda Python = 3.5, : conda create --name tensorflow python=3.5 activate tensorflow pip install tensorflow-gpu

+17

, Anaconda Python 3.6 Tensorflow Window 10 64bit. !

  • Anaconda Python 3.6 Window 64bit.

  • conda tensorflow, :

    C:> conda create -n tensorflow 
    
  • conda, :

    C:> activate tensorflow
    (tensorflow)C:>  # Your prompt should change 
    
  • "tensorflow-1.0.1-cp36-cp36m-win_amd64.whl" . ( "C:\Users\Joshua\Downloads" ).

  • Tensorflow, :

    (tensorflow)C:>pip install C:\Users\Joshua\Downloads\ tensorflow-1.0.1-cp36-cp36m-win_amd64.whl
    

, :  enter image description here

  1. , Python:

    import tensorflow as tf
    hello = tf.constant('Hello, TensorFlow!')
    sess = tf.Session()
    print(sess.run(hello))
    

"Hello, TensorFlow!", , Tensorflow.

+5

Windows 10 Anaconda 4.4 Python 3.6:

1- ) conda create -n tensorflow python=3.6

2- ) activate tensorflow

) pip3 install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.2.1-cp36-cp36m-win_amd64.whl

-1

, : , Anaconda Python 3.6 Tensorflow Window 10 64bit. !

https://www.continuum.io/downloads, Anaconda Python 3.6 Window 64bit. conda tensorflow, :

C: > conda create -n tensorflow conda, :

C: > ( ) C: > # http://www.lfd.uci.edu/~gohlke/pythonlibs/enter , "tensorflow-1.0.1-cp36-cp36m-win_amd64.whl". ( "C:\Users\Joshua\Downloads" ) Tensorflow, :

(tensorflow) C: > pip install C:\Users\Joshua\Downloads\tensorflow-1.0.1-cp36-cp36m-win_amd64.whl

but nothing happens at the prompt. It starts on a new line with a tensor flow, as if nothing had been written. What is the problem?

-one
source

Source: https://habr.com/ru/post/1016562/


All Articles