-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import error involving numpy and cobra #173
Comments
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.
The text was updated successfully, but these errors were encountered: