Splunk Dev

Hello experts, my private splunk app is showing fail in python readiness app. But, My codes are compatible for python 3

Ashwini_5
Explorer

My private splunk app is showing fail in python readiness app. But, My codes are compatible for python 3 with splunk 8.2.1 version. Below is the issue which is showing. I have tried updating server.conf file with

[general]

python version =python3. But, this doesn't worked.  Can someone share your suggestion . 

 

Private Apps

ABC
Private App
Fail
Details
This app is not compatible with Python 3.
Application Path
/opt/splunk/etc/apps/ABC
Required Action
Update this app or uninstall it. If you do nothing, the app will fail.

Dismiss App

Email Result

Export Result
Issue:
File path designates Python 2 library.

Labels (1)
Tags (1)
0 Karma

Ashwini_5
Explorer

Thanks for your reply. Issue resolved after adding below line in script. 

from __future__ import print_function 

0 Karma

Roy_9
Motivator

@Ashwini_5 try the app vetting using the splunk add-on builder latest version, It will do all the pre checks and will throw you any errors with lines incase if there is any python incompatibility issues.

That should help with your issue.

Happy Splunking

sloshburch
Ultra Champion

Hi! Is it possible to add a screen shot? I thought the private apps provided more detail on the specific thing that is failing. I'm wondering if it's slightly hidden by the UI and so I'm optimistic a screenshot could help us see more details.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...

Upgrade Prep for 10.4, Network Observability Deep Dives, and More from Splunk Lantern

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...