Open CNelias opened 1 year ago
Hi @CNelias, did you find a fix for this issue? I some how have the same issue with MassPy, updating numpy and scipy does not fix the issue and updating Cobra to the last version does not work because of incompatibilities
Unfortunately not, and I decided to switch to another framework at some point.
Hi @CNelias, thanks for your answer, may I ask to which framework you switched because I do not think COBRA would allow me to simulate enzyme inhibition or to integrate enzyme activities as MASSPY would have allowed me?
According to https://stackoverflow.com/questions/75069062/module-numpy-has-no-attribute-object, the 'object' child of numpy was removed in 1.24.0, so until masspy updates their code to match the new numpy, you'll need to install 1.23.5 or earlier (pip install numpy==1.23.5)
When trying to import mass (or cobra), I get the following error:
The full stack trace goes as follow:
Any idea what's causing it and how I can fix this? I'm running Python 3.10 on windows 11. I have tried on another machine (also windows 11) and get the same error.