CSTR-Edinburgh / merlin

This is now the official location of the Merlin project.
http://www.cstr.ed.ac.uk/projects/merlin/
Apache License 2.0
1.31k stars 440 forks source link

GPU problem #414

Closed 106368031HuangBaiHong closed 5 years ago

106368031HuangBaiHong commented 6 years ago

I am runing vcc2016 when it Running on GPU. It shows that ERROR (theano.gpuarray): pygpu was configured but could not be imported or is too old (version 0.7 or higher required)

I search how to insatll pygpu. I try all the solution but still can't successful installation. When I import it show

import pygpu Traceback (most recent call last): File "", line 1, in File "pygpu/init.py", line 7, in from . import gpuarray, elemwise, reduction File "pygpu/elemwise.py", line 3, in from .dtypes import dtype_to_ctype, get_common_dtype File "pygpu/dtypes.py", line 6, in from . import gpuarray ImportError: cannot import name gpuarray import gpuarray Traceback (most recent call last): File "", line 1, in ImportError: No module named gpuarray

Does anyone have the same moral problem with me?

rhoposit commented 5 years ago

I've found that using anaconda and their environment feature is really helpful for setting up the right versions and dependencies. You can also test the import using a simple python script before running with Merlin.

jiayalu123 commented 2 years ago

请问您得问题解决了么,我也遇到了同样得问题