crypto-arbitrage-framework icon indicating copy to clipboard operation
crypto-arbitrage-framework copied to clipboard

Instaled CPLEX but the script doesnt find it

Open murchelon opened this issue 4 years ago • 3 comments

Hi ! I installed CPLEX but im getting the error msg when running the Main.py script:

docplex.mp.utils.DOcplexException: CPLEX runtime not found: please install CPLEX or solve this model on DOcplexcloud

Do you have any suggestions on what could i look for ?

murchelon avatar May 09 '20 00:05 murchelon

i installed the community version. It is openning an working fine ... : (

murchelon avatar May 09 '20 00:05 murchelon

I have the same problem:

File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/docplex/mp/error_handler.py", line 210, in fatal raise DOcplexException(resolved_message) docplex.mp.utils.DOcplexException: CPLEX runtime not found: please install CPLEX or solve this model on DOcplexcloud

I run main.py from IDLE, which is a part of the CPLEX distribution.

I installed the community version 1210, ran python setup.py from the CPLEX distribution and got the following: WARNING: No CPLEX python wrappers found. However the setup.py went all its length and installed OK.

Anybody has any ideas how to point to CPLEX?

pepper-live avatar Aug 11 '20 18:08 pepper-live

check my response to #15

hubuser3976 avatar Apr 18 '21 19:04 hubuser3976