我在下面的url中创建了docker并在VM上安装了tensorflow。
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
请让我知道如何解决这个问题。