zoukankan      html  css  js  c++  java
  • tensorflow在windows操作系统上的安装

    在电脑上安装PyCharm和Python3,然后把Python3的安装路径写进系统变量里,Python安装完之后,

    https://bootstrap.pypa.io/get-pip.py,把这页的代码复制出来,拿到python里运行,就可以成功安装

    pip3了,然后把pip3的路径写进环境变量,打开cmd命令提示行,pip3 list有结果的话,就表示pip3安装

    成功,pip3 install tensorflow,然后就可以了。联网很重要,安装过程中可以解决很多依赖。

    import tensorflow as tf

    hello = tf.constant("Hello world")
    with tf.Session() as sess:
    output = sess.run(hello)
    print(output)
  • 相关阅读:
    hbase与Hive的集成
    HBase API操作
    HBase原理
    HBase数据结构
    HBase Shell操作
    HBase简介
    Boxes in a Line
    B
    B. Painting Pebbles
    X
  • 原文地址:https://www.cnblogs.com/donggongdechen/p/9972950.html
Copyright © 2011-2022 走看看