cdanielmachado / carveme

CarveMe: genome-scale metabolic model reconstruction
Other
149 stars 51 forks source link

EnvironmentError: Solver 'cplex' not available #27

Closed MARS2280 closed 6 years ago

MARS2280 commented 6 years ago

Hi cdanielmachado

I have the same issue like #14, when I wrote:

python -c 'import cplex'

I have:

mars@mars:~$ python -c 'import cplex' Traceback (most recent call last): File "", line 1, in ImportError: No module named cplex

Now, I installed cplex into /opt/ibm/ILOG/CPLEX_Studio_Community128/cplex/bin/x86-64_linux/cplex

I used: sudo ln -s /opt/ibm/ILOG/CPLEX_Studio_Community128/cplex/bin/x86-64_linux/cplex /usr/local/bin/cplex

But I have the same problem.

What am I doing wrong? Thank you in advance

MARS

cdanielmachado commented 6 years ago

Hi,

You probably forgot to install the cplex python API.

Please see our instructions: https://carveme.readthedocs.io/en/latest/installation.html

Best regards, Daniel