Thank you in advance for your kind support I installed the CPLEX academic version to solve a MIP model using Docplex in the VScode editor (using Python 3.10.4 64-bit). However, can't run it and getting the following error for this line: "from cplex import *":
Exception has occurred: ImportError
dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/cplex/_internal/py310_cplex2210.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/cplex/_internal/py310_cplex2210.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))
File "/Users/masoud/Desktop/Python-cplex/Pricing-h_g-w_pgijk-g2.py", line 8, in <module>
Can anyone advise me to handle this problem?