<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to install splunk python SDK under bulitin splunk python in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-install-splunk-python-SDK-under-bulitin-splunk-python/m-p/100636#M1430</link>
    <description>&lt;P&gt;Steve - the easiest way is to simply include the splunklib directory of the SDK with your app. That way it will work the most reliably. Feel fee to get in touch if you have any questions.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Aug 2012 18:24:49 GMT</pubDate>
    <dc:creator>ineeman</dc:creator>
    <dc:date>2012-08-01T18:24:49Z</dc:date>
    <item>
      <title>How to install splunk python SDK under bulitin splunk python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-install-splunk-python-SDK-under-bulitin-splunk-python/m-p/100633#M1427</link>
      <description>&lt;P&gt;I tried install splunk python SDK with &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;python setup.py install
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but unsuccessfully because on my linux box is python 2.4. and splunk python SDK require python 2.6+&lt;/P&gt;

&lt;P&gt;Then I discovered that splunk have builtin python 2.6 and I tried install with&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/bin/splunk cmd python setup.py install
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but again unsuccessfully. &lt;EM&gt;error: invalid command 'install'&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;I can't install python 2.6 on my linux box, but how install splunk python SDK under splunk python 2.6. ??&lt;/P&gt;</description>
      <pubDate>Sun, 30 Oct 2011 08:44:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-install-splunk-python-SDK-under-bulitin-splunk-python/m-p/100633#M1427</guid>
      <dc:creator>cloud_cloud</dc:creator>
      <dc:date>2011-10-30T08:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to install splunk python SDK under bulitin splunk python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-install-splunk-python-SDK-under-bulitin-splunk-python/m-p/100634#M1428</link>
      <description>&lt;P&gt;As you can see here, there is an issue with the Splunk version of distutils:&lt;BR /&gt;
&lt;A href="http://splunk-base.splunk.com/answers/6033/adding-python-module-to-splunk"&gt;http://splunk-base.splunk.com/answers/6033/adding-python-module-to-splunk&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;There are ways around this, but feel free to get in touch with me at &lt;A href="mailto:ineeman@splunk.com"&gt;ineeman@splunk.com&lt;/A&gt; and we can try and work through the options, and then I'll post the final result here.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2011 21:48:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-install-splunk-python-SDK-under-bulitin-splunk-python/m-p/100634#M1428</guid>
      <dc:creator>ineeman</dc:creator>
      <dc:date>2011-10-31T21:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to install splunk python SDK under bulitin splunk python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-install-splunk-python-SDK-under-bulitin-splunk-python/m-p/100635#M1429</link>
      <description>&lt;P&gt;Were you able to get the solution to this?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jul 2012 01:51:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-install-splunk-python-SDK-under-bulitin-splunk-python/m-p/100635#M1429</guid>
      <dc:creator>steve</dc:creator>
      <dc:date>2012-07-31T01:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to install splunk python SDK under bulitin splunk python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-install-splunk-python-SDK-under-bulitin-splunk-python/m-p/100636#M1430</link>
      <description>&lt;P&gt;Steve - the easiest way is to simply include the splunklib directory of the SDK with your app. That way it will work the most reliably. Feel fee to get in touch if you have any questions.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2012 18:24:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-install-splunk-python-SDK-under-bulitin-splunk-python/m-p/100636#M1430</guid>
      <dc:creator>ineeman</dc:creator>
      <dc:date>2012-08-01T18:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to install splunk python SDK under bulitin splunk python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-install-splunk-python-SDK-under-bulitin-splunk-python/m-p/100637#M1431</link>
      <description>&lt;P&gt;is that an environment variable, or how exactly do you do that? Could someone update the official docs to explain how to set up a development environment? I have the exact same issue.&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 17:49:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-install-splunk-python-SDK-under-bulitin-splunk-python/m-p/100637#M1431</guid>
      <dc:creator>bnorthway</dc:creator>
      <dc:date>2015-05-29T17:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to install splunk python SDK under bulitin splunk python</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-install-splunk-python-SDK-under-bulitin-splunk-python/m-p/100638#M1432</link>
      <description>&lt;P&gt;As an alternative, there is now a Splunk app called &lt;A href="https://splunkbase.splunk.com/app/4322/"&gt;PyDen&lt;/A&gt; that allows you to use multiple Python versions, virtual environments, and PyPI packages. This means you could create a virtual environment of any version you want and install the Splunk SDK to it, and that environment can be used by any script in any app with the right import statement.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Feb 2019 13:24:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-install-splunk-python-SDK-under-bulitin-splunk-python/m-p/100638#M1432</guid>
      <dc:creator>badarsebard</dc:creator>
      <dc:date>2019-02-23T13:24:38Z</dc:date>
    </item>
  </channel>
</rss>

