导入theano得到非法指令

neg*_*hez 9 python-2.7 ubuntu-12.04 theano

在安装了最新版本甚至卸载Theano后,我仍然从"import theano"获得"非法指令",我在ubuntu 12.04上精确

zhge@phx-r-ins1-7773:~$ sudo pip uninstall Theano
Uninstalling Theano:
Proceed (y/n)? y
  Successfully uninstalled Theano
zhge@phx-r-ins1-7773:~$ python
Python 2.7.3 (default, Sep 26 2013, 20:03:06)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import theano
Illegal instruction
zhge@phx-r-ins1-7773:~$
Run Code Online (Sandbox Code Playgroud)

sim*_*ack 6

当您从一台计算机移动到另一台具有相同.local目录的计算机时,可能会发生 以下(来自这里)为我工作:

首先删除~/.theano哪些存储一些theano编译的文件.然后通过重新安装theano pip uninstall theano; pip install --user theano.它还出于某种原因修复了gensim安装(在导入时显示相同的错误).也许gensim可以进口theano吗?