hackingmaterials / matminer_examples

A repo of examples for the matminer (https://github.com/hackingmaterials/matminer) code
Other
103 stars 60 forks source link

issue with higher version of numpy. #68

Open usccolumbia opened 1 year ago

usccolumbia commented 1 year ago

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'.