安装pylean2时,当执行python setup.py build后出现:
python setup.py build
Traceback (most recent call last):
File "setup.py", line 8, in <module>
from theano.compat.six.moves import input
ModuleNotFoundError: No module named 'theano.compat.six'
解决办法修改setup.py 文件
from theano.compat.six.moves import input 改为
from six.moves import input
即可