<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SASPY on Google Colab in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SASPY-on-Google-Colab/m-p/709242#M218055</link>
    <description>&lt;DIV&gt;&amp;nbsp;I am trying to run sas on Google Colab. I am using the following code -&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;import saspy
saspy.SAScfg
saspy.list_configs()&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;sas = saspy.SASsession(cfgfile='/usr/local/lib/python3.6/dist-packages/saspy/sascfg.py')&lt;/PRE&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;It throws this error -&amp;nbsp;&lt;/DIV&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV&gt;&lt;SPAN&gt;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', ''] &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;DIV&gt;I tried this solution posted on github but not sure about the config.&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://github.com/sassoftware/saspy/issues/305" target="_blank"&gt;Saspy on google collab or alternative? · Issue #305 · sassoftware/saspy (github.com)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;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?&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;sas = saspy.SASsession(java='/usr/bin/java', iomhost=host, iomport=8591)&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 04 Jan 2021 16:24:37 GMT</pubDate>
    <dc:creator>Riya88</dc:creator>
    <dc:date>2021-01-04T16:24:37Z</dc:date>
    <item>
      <title>SASPY on Google Colab</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SASPY-on-Google-Colab/m-p/709242#M218055</link>
      <description>&lt;DIV&gt;&amp;nbsp;I am trying to run sas on Google Colab. I am using the following code -&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;import saspy
saspy.SAScfg
saspy.list_configs()&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;sas = saspy.SASsession(cfgfile='/usr/local/lib/python3.6/dist-packages/saspy/sascfg.py')&lt;/PRE&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;It throws this error -&amp;nbsp;&lt;/DIV&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV&gt;&lt;SPAN&gt;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', ''] &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;DIV&gt;I tried this solution posted on github but not sure about the config.&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://github.com/sassoftware/saspy/issues/305" target="_blank"&gt;Saspy on google collab or alternative? · Issue #305 · sassoftware/saspy (github.com)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;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?&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;sas = saspy.SASsession(java='/usr/bin/java', iomhost=host, iomport=8591)&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Jan 2021 16:24:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SASPY-on-Google-Colab/m-p/709242#M218055</guid>
      <dc:creator>Riya88</dc:creator>
      <dc:date>2021-01-04T16:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: SASPY on Google Colab</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SASPY-on-Google-Colab/m-p/709424#M218143</link>
      <description>&lt;P&gt;Hey, is this the same as the issue:&amp;nbsp;&lt;A href="https://github.com/sassoftware/saspy/issues/357" target="_blank"&gt;https://github.com/sassoftware/saspy/issues/357&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Seems like, so just checking. I was also able to go on colab, install saspy and then connect to SAS ODA from there. I just specified&lt;/P&gt;
&lt;P&gt;the java='/usr/bin/java', iomhost=[appropriate hosts for your account] and iomport=8591 keys to get to the workspace servers in ODA (using my account, of course).&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2021 14:35:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SASPY-on-Google-Colab/m-p/709424#M218143</guid>
      <dc:creator>sastpw</dc:creator>
      <dc:date>2021-01-05T14:35:19Z</dc:date>
    </item>
  </channel>
</rss>

