Hello everyone,
I am trying to make a program in python that allows me to go to a folder where i have an egp. and runs that egp and saves a copy with the "result" of that run (it saves the egp after it runs so i can see if the sas log if there's some error while running).
I tried to use a package i found online (GitHub - kjnh10/saseg_runner: Run egp file from python)
from saseg_runner import run_egp, SASEGRuntimeError run_egp(egp_path='project.egp', eg_version='3.8', profile_name='profile')
but i got an error
---> 48 app = win32com.client.Dispatch(f'SASEGObjectModel.Application.{eg_version}')
com_error: (-2147221005, 'Invalid class string', None, None)Does anyone know how to solve this or has any idea how i can run the egp in a easy way?
Thanks in advanced!
Why have you specified a version of 3.8 in posted code? Also I suspect this package expects 32-bit EG. What is the bitness of your EG?
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.