Replies: 1 comment
-
You're trying to use the COM access method. It requires other packages to be able to be used. The doc is here. Also, it's not the recommended access method to use. You should use the IOM access method instead. It is supported and doesn't require any other packages, though it does need java, which is likely already installed on your client. The doc for that is here. Tom |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm new to Python and SAS.
I want to develop sas etl using python, but i still having problem connecting to sas from python.
sascfg_personal.py
`
saspy.SASsession
staging = {
'iomhost' : 'unastgsascmp01.hq.tnb.com.my',
'iomport' : 8591,
'provider': 'sas.iomprovider',
'encoding': 'utf-8'}
`
prog.py
`
import saspy
sas = saspy.SASsession(cfgname='staging')
`
Error "name 'dynamic' is not defined" is on the line of sas=saspy.SASsession.
I already checked, dynamic is use for old saspy version, but mine is 5.6.0.
May I know what is the actual issue and how should I solve?
Beta Was this translation helpful? Give feedback.
All reactions