cnapy-org / CNApy

An integrated visual environment for metabolic modeling with common methods such as FBA, FVA and Elementary Flux Modes, and advanced features such as thermodynamic methods, extended Minimal Cut Sets, OptKnock, RobustKnock, OptCouple and more!
https://cnapy-org.github.io/CNApy-guide/
Apache License 2.0
46 stars 7 forks source link

Error trying FVA analysis #499

Open Ivano2021 opened 10 months ago

Ivano2021 commented 10 months ago

-TypeError: cannot pickle '_hashlib.HASH' object-

Captura de Pantalla 2024-01-27 a la(s) 10 03 0614B094CE-D203-4017-8D56-559B57C7AD7F

Ivano2021 commented 10 months ago

This error was using the latest version released

Paulocracy commented 10 months ago

Hello again and thank you for this report :-) This looks like an annoying multiprocessing error that may occur on Windows (it's it's probably an optlang problem with specific solvers :3). Hence, it would help us to know if this error is resolved by setting the number of processes for multiprocessing to 1 in the cobrapy configuration (unter 'Config'->'Configure COBRApy')?