Open ryh95 opened 7 years ago
I had the same problem and I solved it by installing in a separate folder with virtualenv
mkdir larsen && cd larsen virtualenv venv && source venv/bin/activate export PYTHONPATH= pip install numpy cython git clone https://github.com/andersbll/cudarray.git mkdir -p cudarrayInstall/lib export INSTALL_PREFIX=$(pwd)/cudarrayInstall export CUDA_PREFIX=/usr/local/cuda export CUDNN_ENABLED=1 cd cudarray && make -j8 && make install python setup.py install
Close the terminal and open a new one cd larsen source venv/bin/activate export PYTHONPATH= export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/cudarrayInstall/lib Run python and import cudarray
I know this is old but in case anyone is running into this issue, please make sure you are not running inside cudarray's source directory.
Dear andersbll
I installed the cuda and cuDNN correctlly
![screenshot from 2016-12-03 18 22 19](https://cloud.githubusercontent.com/assets/8979086/20858668/868ee4e8-b985-11e6-82db-31a86c464d09.png)
then I switched into cudarray directory
works fine but when I want to check if I have installed it correctly
problem appears
and here is my bashrc
As a newbie to linux and deep learning tool, I worked on this problem for hours, but still don't make any progress.
Any suggestions would be appreciated.Thank you very much.