0
我跟着下面的URL創建docker並在VM上安裝tensorflow。ImportError:無法導入名稱學習
http://www.netinstructions.com/how-to-install-and-run-tensorflow-on-a-windows-pc/
一切都消失了罰款。但是當我試圖在代碼下運行時,我看到如下錯誤消息
import tensorflow as tf
from tensorflow.contrib import learn
ImportError Traceback (most recent call last)
<ipython-input-9-e8c8ddf46f14> in <module>()
1 import tensorflow as tf
----> 2 from tensorflow.contrib import learn
ImportError: cannot import name learn
請讓我知道如何解決此問題。