You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connecting to SAS that's in the Apro container requires using the SSH (STDIO over SSH) access method, since Python is not in that container; it's a remote connection. Also, even though it's called the Viya Apro, it doesn't support the HTTP access method like a Compute Server, running in an actual Viya deployment, would. So it a bit tedious to set up with that container. But, I did find instructions for this in the Apro doc here: https://go.documentation.sas.com/doc/en/anprocdc/v_043/dplyviya0ctr/p02tns1ea7ek9on1ibx8rneca1t0.htm
I installed saspy correctly but I can't get my SAS cfg file correct. This is my cfg file:
sascfg_personal.txt
and this is the error I get:
SASIONotSupportedError Traceback (most recent call last)
Cell In[4], line 1
----> 1 sas = saspy.SASsession(cfgfile=cfg_file, cfgname='docker')
File ~\AppData\Local\anaconda3\envs\saspy_env\Lib\site-packages\saspy\sasbase.py:592, in SASsession.init(self, **kwargs)
590 self._io = SASsessionSTDIO(sascfgname=self.sascfg.name, sb=self, **kwargs)
591 else:
--> 592 raise SASIONotSupportedError(self.sascfg.mode, alts=['IOM'])
593 elif self.sascfg.mode == 'IOM':
594 self._io = SASsessionIOM(sascfgname=self.sascfg.name, sb=self, **kwargs)
SASIONotSupportedError: Cannot use STDIO I/O module on Windows. Try the following: IOM
The text was updated successfully, but these errors were encountered: