Alexal, Thanks for the reply. Let me describe the complete story. I have written a small python code to test connection from SAS Viya - This is the python code - import sys print(sys.executable) print(sys.version) and saved in /opt/sas/ as test.py Then I wrote a small SAS code to call this python code - data _null_; infile "python /opt/sas/test.py" pipe end=eof; input; put _infile_; run; When I run this sas code in SAS studio, I got the below details in log - In this log, it says that python interpreter version is 2.6.6 and the location of the python is /usr/bin/python. When I call the test.py from terminal server - I see that the interpreter is 3.6.6 and the location is /opt/sasinside/anaconda3/bin/python I would like to use 3.6.6 version for SAS Viya instead of 2.6 version which is old. There must be some configuration file in sas viya which indicates to use 2.6 version instead of 3.6 python. I am not sure where is that configuration file and what needs to be updated so viya will connect to 3.6 python. Please let me know if you need any other details. Thanks, Suman
... View more