Originally posted by: BahmanBornay
Hey RyanKersh,
I kept Python 3.7.2 version in my windows, then I installed Pyhton 3.6. However, in the terminal (both Anaconda and windows terminal) when I type: python, the following script pops up:
Windows Terminal:
C:\Users\bahma>py -3
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
Windows Terminal:
:\Users\bahma>python
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
Anaconda terminal:
(base) C:\Users\bahma>python
Python 3.7.1 (default, Dec 10 2018, 22:54:23) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
Anaconda terminal:
(base) C:\Users\bahma>py -3
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
When I want to install the cplex using windows terminal:
C:\Users\bahma>cd C:\Program Files\IBM\ILOG\CPLEX_Studio128\cplex\python\3.6\x64_win64
C:\Program Files\IBM\ILOG\CPLEX_Studio128\cplex\python\3.6\x64_win64>python setup.py install
Traceback (most recent call last):
File "setup.py", line 70, in <module>
main()
File "setup.py", line 53, in main
raise Exception(VERSION_ERROR)
Exception: CPLEX 12.8.0.0 is not compatible with this version of Python.
C:\Program Files\IBM\ILOG\CPLEX_Studio128\cplex\python\3.6\x64_win64>
I would appreciate if you share your workaround if any.
Regards,
Bahman
#CPLEXOptimizers#DecisionOptimization