I am trying to run sas on Google Colab. I am using the following code -
import saspy
saspy.SAScfg
saspy.list_configs()
sas = saspy.SASsession(cfgfile='/usr/local/lib/python3.6/dist-packages/saspy/sascfg.py')
It throws this error -
Using SAS Config named: default The OS Error was: No such file or directory SAS Connection failed. No connection established. Double check your settings in sascfg_personal.py file. Attempted to run program /opt/sasinside/SASHome/SASFoundation/9.4/bin/sas_u8 with the following parameters:['/opt/sasinside/SASHome/SASFoundation/9.4/bin/sas_u8', '-nodms', '-stdio', '-terminal', '-nosyntaxcheck', '-pagesize', 'MAX', '']
I tried this solution posted on github but not sure about the config.
Saspy on google collab or alternative? · Issue #305 · sassoftware/saspy (github.com)
What's iomhost and iomport here? I am running on my laptop and don't have access to any server. Can it still be possible?
sas = saspy.SASsession(java='/usr/bin/java', iomhost=host, iomport=8591)
... View more