Hi as @richgalloway said you must test your python with command "splunk cmd python <..../bin/your script>" If you are using "python <..../bin/your script>" then it use wrong python version. Anyhow you should find hints from _internal logs why it didn't work. There are couple of presentations how you can do development with splunk, python and vscode. https://www.splunk.com/en_us/blog/it/splunk-enterprise-visual-studio-code-better-together.html https://community.splunk.com/t5/All-Apps-and-Add-ons/How-do-I-debug-Python-code-running-in-Splunk-Enterprise/m-p/629355 https://conf.splunk.com/files/2022/slides/DEV1127C.pdf There are also some other .conf presentations about this same area. r. Ismo
... View more