cdanielmachado / carveme

CarveMe: genome-scale metabolic model reconstruction
Other
153 stars 52 forks source link

Versioning issues #81

Closed cdanielmachado closed 4 years ago

cdanielmachado commented 4 years ago

The current stable version of CarveMe supports CPLEX 12.7 with Python 3.6.

Please use these versions.

Several users have reported issues with more recent versions of CPLEX and/or Python.

I will update CarveMe to be compatible with more recent versions of Python (3.7 and 3.8) and CPLEX (up to 12.10).

In the meantime, I apologize and ask your patience.

This issue refers to multiple instances of the same problem previously reported:

https://github.com/cdanielmachado/carveme/issues/60

https://github.com/cdanielmachado/carveme/issues/61

https://github.com/cdanielmachado/carveme/issues/80

j-kominek commented 4 years ago

I just thought I'd share that it's no longer possible to download CPLEX 12.7 directly through the CPLEX's section of on the IBM website, only 12.8, 12.9 and 12.10 are accessible there. It is however possible to get it by searching for it with the part number - CJ0WTML.

juz4karen commented 4 years ago

Hi, I downloaded the Cplex 12.7 OSX, it is a bin file, however it seems that I couldn't open it by double clicking it, any idea why? Everytime I clicked to open it, my computer archived the file.

cdanielmachado commented 4 years ago

bin files have to be executed from the command line

j-kominek commented 4 years ago

Yes, and you might need to 'chmod +x' it first, as sometimes the exec flag will get stripped away.

juz4karen commented 4 years ago

Hi, thanks for the info. I able to install the Cplex 12.7, however when I want to fix environment, by

$ cd $IBM/ILOG/CPLEX_Studio127/cplex/python/3.5/x86-64_osx $ python setup.py install

it showed

CPLEX 12.7.0.0 is not compatible with this version of Python.

However, in the cplex folder, there were only Python 2.7 and 3.5. May I know what should I do?

j-kominek commented 4 years ago

I run into a similar issue just this week. It all depends on what is the version of Python on your system? If you need 3.6, you should try CPLEX 12.8 - even though the official IBM reqs only show Python 3.5, it actually has a folder for Python 3.6 which makes CarveMe works like a charm.