將from theano.compat.six.moves import input 改為 from six.moves import input 然后就可以: 1 2 python setup.py build python setup.py install ps:Ubuntu環(huán)境下安裝theano 最近由于特別的需要安裝theano,其實(shí)在ubuntu安裝theano有幾種可選方法,最簡(jiǎn)單的直接 pip install theano,然后缺少什么包就pip install 安...
www.dbjr.com.cn/article/1769...htm 2025-5-13