You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assessing individual metabolite solvability
function raised gurobi is not a valid solver interface. Pick from ['glpk_exact', 'glpk', 'scipy'].
Traceback (most recent call last):
File "C:\Users\csjes\AppData\Local\Continuum\anaconda3\lib\site-packages\cobra\core\model.py", line 150, in solver
interface = solvers[interface_to_str(value)]
KeyError: 'gurobi'
The text was updated successfully, but these errors were encountered:
If the output is the same, you may have to ensure that gurobi is both installed and the license is available. The license may expire and need to be renewed.
I got the same error as mentioned above. I made sure that I have gurobi ( conda config --add channels https://conda.anaconda.org/gurobiconda install gurobi ).
Then when I run step3.generate_initial_population, it shows "Assessing individual metabolite solvability" and just keeps running without ending. When I specify that json_model.solver = 'gurobi', I get errors function took longer than 40 seconds, and then it crashes (IndexError: tuple index out of range), independent of the population number. Any suggestions how to solve this?
When trying BOFdat step3 an exception is raised. Tried both with COBRApy 0.15.3 and 0.16.0.
step3.generate_initial_population(population_name,
path_to_model,
base_biomass_path,
exp_essentiality_path,
number_of_populations=5)
Assessing individual metabolite solvability
function raised gurobi is not a valid solver interface. Pick from ['glpk_exact', 'glpk', 'scipy'].
Traceback (most recent call last):
File "C:\Users\csjes\AppData\Local\Continuum\anaconda3\lib\site-packages\cobra\core\model.py", line 150, in solver
interface = solvers[interface_to_str(value)]
KeyError: 'gurobi'
The text was updated successfully, but these errors were encountered: