

$ export VERSIONER_PYTHON_PREFER_32_BIT=yesīefore starting the Python session (as IBM/CPLEX Support kindly told me they promised a fix in an upgrade, too). Library/Python/2.6/site-packages/cplex/_internal/py1013_cplex122.so: mach-o, but wrong architecture

ImportError: dlopen(/Library/Python/2.6/site-packages/cplex/_internal/py1013_cplex122.so, 2): no suitable image found. But running is not: one has problems when doingįrom cplex._internal.py1013_cplex122 import * The installation goes smoothly on a 64-bit MacOSX 10.6. To get this on Debian (squeeze), I just did It is available in different forms, go for executable one to easily install and setup Python on your system. "libgcc_s.so.1 must be installed for pthread_cancel to work".Īfter much googling, it turned out that the installer is a 32-bit program, that needs the right 32-bit libgcc_s.so to work. However, it refused to install on my amd64 Debian system, saying IBM now gives CPLEX to academics for free as I am computing LP bounds for quantum codes, I got myself one.
