Splunk Dev

pip install does not create full splunk-sdk-python parent directory

twotimepad
Engager

When I pip install the splunk-sdk, it only creates a /splunklib directory.

But, the READme on GitHub mentions adding the parent /splunk-sdk-python directory to PYTHONPATH, and some of the example snippets import code from the sibling utils module, neither of which exist via pip install. Is this the expected behavior and/or should the examples be updated?

I am using Mac OSX High Sierra with Python 3.7, installed via Anaconda.

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...