cdanielmachado / smetana

SMETANA: a tool to analyse interactions in microbial communities
Other
56 stars 11 forks source link

RuntimeError: No solver available. #31

Closed BurchamLab closed 2 years ago

BurchamLab commented 2 years ago

Hi,

I have installed CPLEX on my MacOS and added the /Applications/CPLEX_Studio/cplex/bin/x86-64_osx/cplex solver to my PATH, but I still get the error that no solver can be found. Should I be adding a different location to my PATH?

Thanks

BurchamLab commented 2 years ago

Sorry, figured it out. I needed to create a new conda environment with python 3.8 and follow these instructions for python API install of CPLEX. https://www.ibm.com/docs/en/icos/12.8.0.0?topic=cplex-setting-up-python-api