solivan.blogg.se

Splunk phantom python
Splunk phantom python













splunk phantom python

The standalone version includes all of the code in this directory, Upgrade the Distutils without upgrading Python, available from the Standalone version of the Distutils available for people who want to

Splunk phantom python install#

This is all you need to distribute and install Python The Python modules in the 'distutils' and 'mand' This directory contains only a subset of the Distutils, specifically You is confirmed in the file $SPLUNK_HOME/lib/python2.6/distutils/README, which says: It appears that Splunk ships with the standard minimal Distutils that comes packaged in the standard python source code distribution. I really think there should be a "better" (or at least) fully documented way to do this. The standard windows install I think should include the full distutils package.

splunk phantom python

On Ubuntu, this can be done with the command apt-get install python-dev. I "solved" this on my system by simply replacing the $SPLUNK_HOME/lib/python2.6/distutils folder with my locally installed copy which will probably be at a path like: /usr/lib/python26/distutils (You probably only want to do this with the same version of python, 2.6 in this example, but I'm not sure.) Note: I did have to keep the old copy of sysconfig.py around, which must have been different between the two python installs.Īlso note that you may have to install this package separately. The distutils shipped with Splunk's bundled python seems to be the minimal version which does not allow building of new python modules out of the box.















Splunk phantom python