molfeat
molfeat copied to clipboard
cannot import name 'product' from 'numpy'
📖 Documentation
Found this error when using transformer = MoleculeTransformer(featurizer='mordred', dtype=float)
Apparently product
was removed in numpy 2.0: https://github.com/astropy/astropy/pull/16062
Downgrading numpy 2.1.0 to 1.22.0 solved it. I am now at my local machine and can confirm that in numpy 1.24.4 it also works.