给pyparsing降级
pip uninstall pyparsing
pip install -Iv https://pypi.python.org/packages/source/p/pyparsing/pyparsing-1.5.7.tar.gz#md5=9be0fcdcc595199c646ab317c1d9a709
pip install pydot
最好安装openblas不要安装ATLAS,容易冲突
undefined symbol: _gfortran_transfer_integer_write
问题由于numpy和atlas openblas之间的混乱关系造成的,解决可以修改.theanorc 文件(create file: vim /root/.theanorc)或者运行:
THEANO_FLAGS=’floatX=float32,device=gpu0,nvcc.fastmath=True’ python test.py