我已经在主文件夹中创建了一个.theanorc文件,并添加了以下内容来设置theano以在GPU上运行:
[global]
floatX = float32
device = cuda0
[lib]
cnmem = 1
[cuda]
root = /usr/local/cuda
然后我使用pip install Theano
命令安装了Theano。
但是当我尝试运行import theano
时,出现此错误:
ERROR (theano.gpuarray): pygpu was configured but could not be imported or is too old (version 0.7 or higher required)
。
是否可以不使用anaconda来安装pygpu?