Windows下Python3.6 64位+TensorFlow1.6.0的安裝__Python

來源:互聯網
上載者:User
1、安裝Python,設定環境變數

下載地址:https://www.python.org/downloads/windows/ 2、下載安裝pip

下載地址:https://pypi.python.org/pypi/pip 3、注意:NVD顯卡支援GPU加速de需要安裝CUDA和cuDNN;

推薦文章:http://blog.csdn.net/duwangthefirst/article/details/79078306 4、下載TensorFlow

下載地址:https://pypi.python.org/pypi/tensorflow#downloads

error:failed to create process.

python -m pip install tensorflow-1.6.0rc1-cp36-cp36m-win_amd64.whl

等一會兒,提示安裝完成。

  Downloading Werkzeug-0.14.1-py2.py3-none-any.whl (322kB)
    100% |████████████████████████████████| 327kB 98kB/s
Installing collected packages: termcolor, numpy, six, absl-py, wheel, gast, protobuf, grpcio, astor, html5lib, markdown, bleach, werkzeug, tensorboard, tensorflow
  Running setup.py install for termcolor ... done
  Running setup.py install for absl-py ... done
  Running setup.py install for gast ... done
  Running setup.py install for html5lib ... done

Successfully installed absl-py-0.1.10 astor-0.6.2 bleach-1.5.0 gast-0.2.0 grpcio-1.9.1 html5lib-0.9999999 markdown-2.6.11 numpy-1.14.1 protobuf-3.5.1 six-1.11.0 tensorboard-1.6.0 tensorflow-1.6.0rc1 termcolor-1.1.0 werkzeug-0.14.1 wheel-0.30.0 5、pyhton終端驗證安裝:

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

參考文章:《Windows下tensorflow安裝 win64+Python3.5

http://blog.csdn.net/btbujhj/article/details/73127753

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.