<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # 安裝環節之如何安裝‘TensorFlow'. > 默認已經安裝了pip,如果沒有的話,請自行安裝 **一. 安裝 Python 和 TensorFlow 軟件包依賴項** 安裝python-dev使用 ~~~ yum install python-dev python-pip ~~~ 如果沒有python-dev軟件包,可以使用`yum search python-dev`在本機查找軟件包 在得知要安裝的軟件包名后,例如為python-devel.x86\_64,可以使用`yum install python-devel.x86_64`安裝軟件包 **二.安裝 TensorFlow pip 軟件包依賴項** 1、安裝six、numpy、 wheel、 mock等軟件包,使用命令 ~~~ pip install -U --user six numpy wheel mock ~~~ 2、安裝keras\_applications軟件包,使用命令`pip install -U --user keras_applications==1.0.5 --no-deps` 3、安裝keras\_preprocessing軟件包,使用命令`pip install -U --user keras_preprocessing==1.0.3 --no-deps` **三、安裝Bazel** 創建bazel的yum源,使用`vim /etc/yum.repos.d/bazel.repo`創建源文件,將內容 ``` [vbatts-bazel] name=Copr repo for bazel owned by vbatts baseurl=https://copr-be.cloud.fedoraproject.org/results/vbatts/bazel/epel-7-$basearch/ type=rpm-md skip_if_unavailable=True gpgcheck=1 gpgkey=https://copr-be.cloud.fedoraproject.org/results/vbatts/bazel/pubkey.gpg repo_gpgcheck=0 enabled=1 enabled_metadata=1 ``` 保存在文件內,使用`yum install bazel`安裝bazel **四、安裝和測試TensorFlow** 1、安裝TensorFlow 使用命令`pip install tensorflow`安裝TensorFlow 2、測試TensorFlow是否安裝成功 先輸入python回車,進入python運行環境;然后使用語句`import tensorflow as tf`引用TensorFlow模塊,若如下圖則證明TensorFlow安裝成功 ![](https://img.kancloud.cn/9b/68/9b68604bf43c5711598f90eb6d10420f_642x76.png)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看