【发布时间】:2017-10-26 15:12:17
【问题描述】:
我正在配置 python、theano、keras、tensorFlow。我几乎让它工作了,但在使用 pygpu0.6.9 时收到版本错误。所以我更新了theano版本(根据一些说明)。之后,我再次运行了测试文件。我不再收到 pygpu 错误,而是收到此错误:
“你的 Python 路径中有 theano 目录。这 [原文如此] 在 Python 3 中不起作用。”
这可能是一个简单的修复,但我对此比较陌生。感谢您的帮助。
PS
C:\program files\anaconda3> python test.py
Traceback (most recent call last):
File "test.py", line 1, in <module>
from theano import function, config, shared, tensor
File "C:\Program Files\Anaconda3\lib\site-packages\theano\__init__.py", line 79, in <module>
"You have the theano directory in your Python path."
RuntimeError: You have the theano directory in your Python path. This do not work in Python 3.
【问题讨论】:
-
您使用哪个版本的 Python 和 Theano?
标签: python tensorflow keras theano