我已经使用以下命令成功安装了bledding edge theano版本 点安装git + https://github.com/Theano/Theano.git#egg=Theano 和libgpuarray版本0.7.1 但是当我用python代码导入theano时出现以下错误
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/faizarehman/python/lib/python2.7/site-packages/theano/__init__.py", line 110, in <module>
from theano.compile import (
File "/home/faizarehman/python/lib/python2.7/site-packages/theano/compile/__init__.py", line 12, in <module>
from theano.compile.mode import *
File "/home/faizarehman/python/lib/python2.7/site-packages/theano/compile/mode.py", line 11, in <module>
import theano.gof.vm
File "/home/faizarehman/python/lib/python2.7/site-packages/theano/gof/vm.py", line 674, in <module>
from . import lazylinker_c
File "/home/faizarehman/python/lib/python2.7/site-packages/theano/gof/lazylinker_c.py", line 140, in <module>
preargs=args)
File "/home/faizarehman/python/lib/python2.7/site-packages/theano/gof/cmodule.py", line 2388, in compile_str
(status, compile_stderr.replace('\n', '. ')))
Exception: Compilation failed (return status=1): /usr/bin/ld: /home/faizarehman/python/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32S against _Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC. /home/faizarehman/python/lib/libpython2.7.a: error adding symbols: Bad value. collect2: error: ld returned 1 exit status.
请帮助我解决这个问题