logo
Loading...

Win 7是否可以安裝 Tensorflow and Karas? - Cupoy

Display card: Intel(R) HD Graphics 4000. Win 7是否可以...

ml100-3,ml100-3-d66

Win 7是否可以安裝 Tensorflow and Karas?

2019/11/11 下午 04:51
機器學習共學討論版
William Mok
觀看數:50
回答數:3
收藏數:0
ml100-3
ml100-3-d66

Display card: Intel(R) HD Graphics 4000. 

Win 7是否可以安裝 Tensorflow GPU and Karas? 因為安裝時出現 error. 

已經安裝了CUDA 9.0


以下安裝不到:

base> c:/Users/user> conda create keras35 python=3.7

CondaValueError: The target prefix is the base prefix. Aborting


但根據你們步驟,應該安裝了Tensorflow and Keras. 

from tensorflow.python.client import device_lib

print(device_lib.list_local_devices())


output error

---------------------------------------------------------------------------

ModuleNotFoundError                       Traceback (most recent call last)

<ipython-input-1-0ca82b29604d> in <module>()

----> 1 from tensorflow.python.client import device_lib

      2 print(device_lib.list_local_devices())


ModuleNotFoundError: No module named 'tensorflow'

回答列表

  • 2019/11/11 下午 11:06
    張維元 (WeiYuan)
    贊同數:1
    不贊同數:0
    留言數:1

    ModuleNotFoundError 的意思是沒有安裝這個套件,你是利用 pip 安裝的嗎?


    另外請問「Win 7是否可以安裝 Tensorflow GPU and Karas? 因為安裝時出現 error. 已經安裝了CUDA 9.0」這個錯誤出現在哪裡?

  • 2019/11/12 上午 10:03
    William Mok
    贊同數:0
    不贊同數:0
    留言數:1

    以下是 conda create -n keras35 python=3.7 的 error



     

  • 2019/11/13 上午 08:04
    William Mok
    贊同數:0
    不贊同數:0
    留言數:1

    嘗試再安裝 pip install tensorflow,( no gpu version)

    但出現以下 ERROR

    Found existing installation: wrapt 1.10.11

    ERROR: Cannot uninstall 'warpt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.