molfeat icon indicating copy to clipboard operation
molfeat copied to clipboard

cannot import name 'product' from 'numpy'

Open rflameiro opened this issue 5 months ago • 1 comments

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

rflameiro avatar Sep 04 '24 17:09 rflameiro