<?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 Re: SASPy Not Connencting to SAS in Jupyter Lab in Developers</title>
    <link>https://communities.sas.com/t5/Developers/SASPy-Not-Connencting-to-SAS-in-Jupyter-Lab/m-p/982031#M6660</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/144762"&gt;@muhuri&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I got this from our dev:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;It looks like it is something with Integrated Windows Authentication (IWA) not working correctly on their Dell laptop.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;My first thought is to have them check to see if IWA is working outside of SASPY, for example, they could follow these instruction (starting at 3 and 4): &lt;A href="https://go.documentation.sas.com/doc/en/bicdc/9.4/bisecag/n1d1zo1jsf2o0en1ehu4c4simfky.htm#n1p1g1fi…" target="_blank"&gt;https://go.documentation.sas.com/doc/en/bicdc/9.4/bisecag/n1d1zo1jsf2o0en1ehu4c4simfky.htm#n1p1g1fi…&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They're getting&amp;nbsp; Windows machine set up in the meantime to investigate further. I'll keep you posted.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jan 2026 19:32:06 GMT</pubDate>
    <dc:creator>joeFurbee</dc:creator>
    <dc:date>2026-01-15T19:32:06Z</dc:date>
    <item>
      <title>SASPy Not Connencting to SAS in Jupyter Lab</title>
      <link>https://communities.sas.com/t5/Developers/SASPy-Not-Connencting-to-SAS-in-Jupyter-Lab/m-p/981930#M6659</link>
      <description>&lt;PRE&gt;import saspy
import pandas as pd
sas = saspy.SASsession(cfgname='winlocal')
w_class = sas.sasdata("CLASS","SASHELP")
w_class.describe()&lt;/PRE&gt;&lt;PRE&gt;We failed in getConnection
The application could not log on to the server "localhost:0". Integrated Windows authentication failed.
SAS process has terminated unexpectedly. RC from wait was: 4294967290

SASIOConnectionTerminated                 Traceback (most recent call last)
Cell In[2], line 3
      1 import saspy
      2 import pandas as pd
----&amp;gt; 3 sas = saspy.SASsession(cfgname='winlocal')
      4 w_class = sas.sasdata("CLASS","SASHELP")
      5 w_class.describe()

File ~\AppData\Local\anaconda3\Lib\site-packages\saspy\sasbase.py:594, in SASsession.__init__(self, **kwargs)
    592         raise SASIONotSupportedError(self.sascfg.mode, alts=['IOM'])
    593 elif self.sascfg.mode == 'IOM':
--&amp;gt; 594     self._io = SASsessionIOM(sascfgname=self.sascfg.name, sb=self, **kwargs)
    595 elif self.sascfg.mode == 'COM':
    596     self._io = SASSessionCOM(sascfgname=self.sascfg.name, sb=self, **kwargs)

File ~\AppData\Local\anaconda3\Lib\site-packages\saspy\sasioiom.py:317, in SASsessionIOM.__init__(self, **kwargs)
    314 self._tomods1 = b"_tomods1"
    315 self.sascfg   = SASconfigIOM(self, **kwargs)
--&amp;gt; 317 self._startsas()
    318 self._sb.reconuri = None

File ~\AppData\Local\anaconda3\Lib\site-packages\saspy\sasioiom.py:582, in SASsessionIOM._startsas(self)
    580 if enc == '':
    581    self.sascfg.encoding = 'utf-8'
--&amp;gt; 582 ll = self.submit("options svgtitle='svgtitle'; options validvarname=any validmemname=extend pagesize=max nosyntaxcheck; ods graphics on;", "text")
    583 self.sascfg.encoding = enc
    585 if self.pid is None:

File ~\AppData\Local\anaconda3\Lib\site-packages\saspy\sasioiom.py:992, in SASsessionIOM.submit(self, code, results, prompt, **kwargs)
    990    #return dict(LOG=log.decode(errors='replace'), LST='')
    991    logger.fatal(log.decode(errors='replace'))
--&amp;gt; 992    raise SASIOConnectionTerminated(Exception)
    993 except subprocess.TimeoutExpired:
    994    pass

SASIOConnectionTerminated: No SAS process attached. SAS process has terminated unexpectedly.
&amp;lt;class 'Exception'&amp;gt;&lt;/PRE&gt;&lt;PRE&gt;#sascfg_personal.py
import os
os.environ["PATH"] += ";C:\\Program Files\\SASHome\\SASFoundation\\9.4\\core\\sasext"

SAS_config_names=['winlocal']

default  = {'saspath'  : '/opt/sasinside/SASHome/SASFoundation/9.4/bin/sas_u8' }

winlocal = {'java'      : 'C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe',  'encoding'  : 'windows-1252'}&lt;/PRE&gt;&lt;P&gt;Currently, I am unable&amp;nbsp;to connect SASPy (Version: 5.103.0) to SAS (Version 9.04.01M7P080520) in Jupyter Lab (Version 4.2.5) on my Dell laptop (Windows 10), although the SASPy connection had been working fine until I updated my SAS license this week.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On my second laptop (lenovo with Windows 10) with the same updated license, the SASPy connection to SAS in Jupyter lab has worked fine, as before.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help toward the SASPy connection issue with SAS (as referred to Dell laptop above)&amp;nbsp; will be highly apprreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2026 22:56:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SASPy-Not-Connencting-to-SAS-in-Jupyter-Lab/m-p/981930#M6659</guid>
      <dc:creator>muhuri</dc:creator>
      <dc:date>2026-01-13T22:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: SASPy Not Connencting to SAS in Jupyter Lab</title>
      <link>https://communities.sas.com/t5/Developers/SASPy-Not-Connencting-to-SAS-in-Jupyter-Lab/m-p/982031#M6660</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/144762"&gt;@muhuri&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I got this from our dev:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;It looks like it is something with Integrated Windows Authentication (IWA) not working correctly on their Dell laptop.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;My first thought is to have them check to see if IWA is working outside of SASPY, for example, they could follow these instruction (starting at 3 and 4): &lt;A href="https://go.documentation.sas.com/doc/en/bicdc/9.4/bisecag/n1d1zo1jsf2o0en1ehu4c4simfky.htm#n1p1g1fi…" target="_blank"&gt;https://go.documentation.sas.com/doc/en/bicdc/9.4/bisecag/n1d1zo1jsf2o0en1ehu4c4simfky.htm#n1p1g1fi…&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They're getting&amp;nbsp; Windows machine set up in the meantime to investigate further. I'll keep you posted.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 19:32:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SASPy-Not-Connencting-to-SAS-in-Jupyter-Lab/m-p/982031#M6660</guid>
      <dc:creator>joeFurbee</dc:creator>
      <dc:date>2026-01-15T19:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: SASPy Not Connencting to SAS in Jupyter Lab</title>
      <link>https://communities.sas.com/t5/Developers/SASPy-Not-Connencting-to-SAS-in-Jupyter-Lab/m-p/982036#M6661</link>
      <description>&lt;P&gt;The SAS Technical Support Expert has resolved the issue.&lt;/P&gt;&lt;P&gt;All I had to do is make the necessary change to my hosts file in C:\Windows\System32\drivers\etc, as documented in the following SAS KB article:&lt;/P&gt;&lt;P&gt;&lt;A href="https://sas.service-now.com/csm?id=kb_article_view&amp;amp;sysparm_article=KB0036466" target="_blank" rel="noopener"&gt;https://sas.service-now.com/csm?id=kb_article_view&amp;amp;sysparm_article=KB0036466.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Note that while the KB article above does not specifically mention SASPy, the issue and resolution is the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 20:09:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/SASPy-Not-Connencting-to-SAS-in-Jupyter-Lab/m-p/982036#M6661</guid>
      <dc:creator>muhuri</dc:creator>
      <dc:date>2026-01-15T20:09:49Z</dc:date>
    </item>
  </channel>
</rss>

