Support for Python 2.7 ended in January 2020. Complete the following instructions to upgrade to a newer Python version:
1. Install a newer Python version. See the Python section in SAS® 9.4 Support for Other Third-Party Software Products for instructions.
In a UNIX operating environment, you need to create a softlink called 'python' to point to the new Python version.
Here is an example:
cd /usr/bin
ln -s /usr/bin/python3.8 python
This softlink should produce a result similar to the following:
lrwxrwxrwx 1 root root 18 May 13 09:10 python -> /usr/bin/python3.8
2. Stop the SAS Information Retrieval Studio service as follows:
3. Back-up the existing Python BIN files in the SAS Information Retrieval Studio configuration folder located in ..SAS-configuration-directory/Lev1/Applications/SASInformationRetrievalStudioforSAS/bin.
4. In a UNIX operating environment, verify that the PYTHON_EXEC= parameter in the IRStudio.sh script in ..SAS-configuration-directory/Lev1/Applications/SASInformationRetrievalStudioforSAS points to the correct python3 path.
In Windows Servers only, you need to uninstall and re-install the SAS Information Retrieval Studio service.
IRStudio.bat remove
IRStudio.bat install
5. Start SAS Information Retrieval Studio service as follows:
6. Submit the following manual commands to start the servers and open the terminal service:
cd ..SAS-configuration-directory/Lev1/Applications/SASInformationRetrievalStudioforSAS/bin
python information-retrieval-studio-client.py --get-proxy-server-status
python information-retrieval-studio-client.py --start-proxy-server
python information-retrieval-studio-client.py --get-pipeline-server-status
python information-retrieval-studio-client.py --start-pipeline-server
python information-retrieval-studio-client.py --get-indexing-server-status
python information-retrieval-studio-client.py --start-indexing-server
python information-retrieval-studio-client.py --get-query-server-status
python information-retrieval-studio-client.py --start-query-server
Note: SAS Information Retrieval Studio servers should run on the correct ports: proxy on 10661, pipeline on 10691, indexing on 10721, and query on 10731.
7. Restart SASServer12 service:
8. If any technical issues occur after you complete the above steps, zip and send following to SAS Technical Support: