andersbll / cudarray

CUDA-based NumPy
MIT License
233 stars 61 forks source link

'module' object has no attribute 'extra' #66

Closed ice-pice closed 7 years ago

ice-pice commented 7 years ago

Hi,

I have installed cudarray without cuda backend. However, I am not able to use the modules in 'extra'.

>>> import cudarray >>> cudarray.__file__ /home/user/dfg/venv/local/lib/python2.7/site-packages/cudarray-0.1.dev-py2.7-linux-x86_64.egg/cudarray/__init__.pyc >>> cudarray.extra AttributeError: 'module' object has no attribute 'extra'
But when I look at the path, it has the files and modules that I called.
$$ ls /home/user/dfg/venv/local/lib/python2.7/site-packages/cudarray-0.1.dev-py2.7-linux-x86_64.egg/cudarray/extra/ array.py array.pyc __init__.py __init__.pyc

Can someone please share some knowledge related to this? Thanks!

ice-pice commented 7 years ago

On inserting $INSTALL_PATH into $LD_LIBRARY_PATH, it compiles and runs fine.