I've tried multiple Python versions, NumPy, Pandas, with and without Anaconda envs,
but cannot import an Altair SLC dataset file (e.g., data.slc) without import errors or crashes.
SEE BELOW
LATEST ATTEMPT
- Python Version: 3.13.11 | packaged by Anaconda, Inc.
| (main, Dec 10 2025, 21:21:58) [MSC v.1929 64 bit (AMD64)] - Python Executable: C:/Users/Roger/miniconda3/envs/anaconda/python.exe
3, NumPy Version: 2.3.5 - Pandas Version: 2.3.3
PROOF THAT PYTHON WORKS WITH THE FOLLOWING LEVELS
OPTIONS PYTHONHOME = 'C:\Users\Roger\miniconda3\envs\anaconda';
proc python;
submit;
x=2
print(x)
endsubmit;
run;quit;
1 OPTIONS PYTHONHOME = 'C:\Users\Roger\miniconda3\envs\anaconda';
2 proc python;
3 submit;
4 x=2
5 print(x)
6 endsubmit;
NOTE: Submitting statements to Python:
7 run;quit;
NOTE: Procedure python step took :
real time : 0.901
cpu time : 0.031
OUTPUT
Altair SLC
The PYTHON Procedure
2
BUT FAILS WHEN EXPORT A SLC DATASET TO PYTHON
1
2 data zip;
3 set sashelp.zipcode(obs=3 keep=zip);
4 put zip=;
5 run;
ZIP=00501
ZIP=00544
ZIP=00601
NOTE: 3 observations were read from "SASHELP.zipcode"
NOTE: Data set "WORK.zip" has 3 observation(s) and 1 variable(s)
NOTE: The data step took :
real time : 0.004
cpu time : 0.015
5 ! quit;
6
7 OPTIONS PYTHONHOME = 'C:\Users\Roger\miniconda3\envs\anaconda';
8 proc python;
9 export data=zip python=tst;
NOTE: Creating Python data frame 'tst' from data set 'WORK.zip'
ERROR: Received unknown response [10]
10 submit;
11 print(tst)
12 endsubmitl
13 run;quit;
14
15
ERROR: End of file encountered before ENDSUBMIT
NOTE: Step processing stopped because of errors detected
WARNING: Could not cleanly terminate Python worker: Error writing to pipe : The pipe is being closed.
NOTE: Procedure python step took :
real time : 4.098