matminer_examples icon indicating copy to clipboard operation
matminer_examples copied to clipboard

issue with higher version of numpy.

Open usccolumbia opened this issue 1 year ago • 0 comments

File "/Users/jason/opt/anaconda3/lib/python3.9/site-packages/matminer/featurizers/structure/matrix.py", line 292, in init my_ohvs[Z] = self.get_ohv(el, period_tag) File "/Users/jason/opt/anaconda3/lib/python3.9/site-packages/matminer/featurizers/structure/matrix.py", line 338, in get_ohv my_ohv = np.zeros(self.size, np.int) File "/Users/jason/opt/anaconda3/lib/python3.9/site-packages/numpy/init.py", line 305, in getattr raise AttributeError(former_attrs[attr]) AttributeError: module 'numpy' has no attribute 'int'.

usccolumbia avatar May 30 '23 04:05 usccolumbia