I'm trying to learn how to use pyculib and got AttributeError: module 'numba.findlib' has no attribute 'get_lib_dir'
4 core CPU (intel) + GeForce GTX 745
File "", line 1, in runfile('C:/Python/Scripts/LearnCUDA/curand.py', wdir='C:/Python/Scripts/LearnCUDA')
File "C:\Users\Administrator\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 786, in runfile execfile(filename, namespace)
File "C:\Users\Administrator\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Python/Scripts/LearnCUDA/curand.py", line 11, in from pyculib import rand as curand
File "C:\Users\Administrator\Anaconda3\lib\site-packages\pyculib__init__.py", line 49, in from . import blas, sparse, fft, rand, sorting
File "C:\Users\Administrator\Anaconda3\lib\site-packages\pyculib\sorting__init__.py", line 1, in from .radixsort import RadixSort
File "C:\Users\Administrator\Anaconda3\lib\site-packages\pyculib\sorting\radixsort.py", line 38, in lib = load_lib('radixsort')
File "C:\Users\Administrator\Anaconda3\lib\site-packages\pyculib\sorting\common.py", line 24, in load_lib libpath = os.path.join(findlib.get_lib_dir(), fullname)
AttributeError: module 'numba.findlib' has no attribute 'get_lib_dir'
import numpy as np
from pyculib import rand as curand
prng = curand.PRNG(rndtype=curand.PRNG.XORWOW)
rand = np.empty(100000)
prng.uniform(rand)
print(rand[:10])