cdanielmachado / carveme

CarveMe: genome-scale metabolic model reconstruction
Other
147 stars 50 forks source link

carveme_init error #88

Closed zhangzn19 closed 3 years ago

zhangzn19 commented 3 years ago

I just installed CarveMe and implemented 'carveme_init', but I got following lines:

Traceback (most recent call last):
  File "/Users/zhangzhongnan/anaconda3/bin/carveme_init", line 11, in <module>
    from carveme import project_dir
  File "/Users/zhangzhongnan/anaconda3/lib/python3.8/site-packages/carveme/__init__.py", line 14, in <module>
    set_default_solver(config.get('solver', 'default_solver'))
  File "/Users/zhangzhongnan/anaconda3/lib/python3.8/site-packages/framed/solvers/__init__.py", line 61, in set_default_solver
    raise EnvironmentError("Solver '{}' not available.".format(solvername))
OSError: Solver 'cplex' not available.

And I installed CPLEX 12.8 with Python 3.6. what should I do? thank you for advice.

cdanielmachado commented 3 years ago

Did you install the cplex python bindings?

zhangzn19 commented 3 years ago

I did, but it worked as I installed cplex with conda as well as 'future' with pip. I just got a new issue as following lines:

diamond v2.0.2.140 (C) Max Planck Society for the Advancement of Science
Documentation, support and updates available at http://www.diamondsearch.org

#CPU threads: 12
Scoring parameters: (Matrix=BLOSUM62 Lambda=0.267 K=0.041 Penalties=11/1)
Temporary directory:
Opening the database...  [0.029s]
Error: Database was built with an older version of Diamond and is incompatible.
Failed to run diamond.
cdanielmachado commented 3 years ago

This is fixed in version 1.4.1