<?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: Why is the fit command resulting in error &amp;quot;Failed to find Python for Scientific Computing Add-on...&amp;quot;? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/251308#M28804</link>
    <description>&lt;P&gt;Awesome. You are very welcome!&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2016 22:29:46 GMT</pubDate>
    <dc:creator>yangzd</dc:creator>
    <dc:date>2016-10-11T22:29:46Z</dc:date>
    <item>
      <title>Why is the fit command resulting in error "Failed to find Python for Scientific Computing Add-on..."?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/251305#M28801</link>
      <description>&lt;P&gt;On either Splunk 6.4.3 or Splunk 6.5, I have both the latest Machine Learning Toolkit 2.0 and Scientific Python 1.2.&lt;/P&gt;

&lt;P&gt;The apps are enabled, I am admin, the permissions are good.&lt;/P&gt;

&lt;P&gt;Splunk search that fails:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main  | fit
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Error in 'fit' command: Failed to find Python for Scientific Computing Add-on (Splunk_SA_Scientific_Python_linux_x86_64)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;splunkd.log says:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - stderr: Traceback (most recent call last):
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - stderr:   File "/opt/splunk/etc/apps/Splunk_ML_Toolkit/bin/cexc/__init__.py", line 127, in run
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - stderr:     while self._handle_chunk():
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - stderr:   File "/opt/splunk/etc/apps/Splunk_ML_Toolkit/bin/cexc/__init__.py", line 254, in _handle_chunk
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - stderr:     ret = self.handler(metadata, body)
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - stderr:   File "/opt/splunk/etc/apps/Splunk_ML_Toolkit/bin/cexc/__init__.py", line 326, in handler
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - stderr:     raise RuntimeError(self.msg)
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - stderr: RuntimeError: Failed to find Python for Scientific Computing Add-on (Splunk_SA_Scientific_Python_linux_x86_64)
10-11-2016 18:58:56.806 +0000 ERROR ChunkedExternProcessor - Error in 'fit' command: Failed to find Python for Scientific Computing Add-on (Splunk_SA_Scientific_Python_linux_x86_64)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Oct 2016 19:12:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/251305#M28801</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2016-10-11T19:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the fit command resulting in error "Failed to find Python for Scientific Computing Add-on..."?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/251306#M28802</link>
      <description>&lt;P&gt;The error message indicates the Python for Scientific Computing Add-on is not installed properly.&lt;/P&gt;

&lt;P&gt;Can you double check the app installation, specifically:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;It is the right PSC bits on your platform, that is Linux-64bit in your environment.&lt;/LI&gt;
&lt;LI&gt;PSC is installed to $SPLUNK_HOME/etc/apps/, and has unchanged name, that is "Splunk_SA_Scientific_Python_linux_x86_64" in your environment.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;You may need to reinstall PSC and restart Splunk.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:21:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/251306#M28802</guid>
      <dc:creator>yangzd</dc:creator>
      <dc:date>2020-09-29T11:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the fit command resulting in error "Failed to find Python for Scientific Computing Add-on..."?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/251307#M28803</link>
      <description>&lt;P&gt;Thanks! Yes we have 64 bit Linux but I had called the app dir Splunk_SA_Scientific_Python_linux and not Splunk_SA_Scientific_Python_linux_x86_64.&lt;/P&gt;

&lt;P&gt;I renamed the dir to the correct _x86_64, restarted Splunk and the error went away.&lt;/P&gt;

&lt;P&gt;Thanks yangzd!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:24:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/251307#M28803</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2020-09-29T11:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the fit command resulting in error "Failed to find Python for Scientific Computing Add-on..."?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/251308#M28804</link>
      <description>&lt;P&gt;Awesome. You are very welcome!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 22:29:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/251308#M28804</guid>
      <dc:creator>yangzd</dc:creator>
      <dc:date>2016-10-11T22:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the fit command resulting in error "Failed to find Python for Scientific Computing Add-on..."?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/251309#M28805</link>
      <description>&lt;P&gt;I'm facing the same error. Also in my case, the name of the folder is correct as mentioned above. Using MLT 3.0 &amp;amp; PSC 1.2. Have done uninstall and splunk restart several times - no help. &lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2018 14:50:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/251309#M28805</guid>
      <dc:creator>amitsharma39</dc:creator>
      <dc:date>2018-07-24T14:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the fit command resulting in error "Failed to find Python for Scientific Computing Add-on..."?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/251310#M28806</link>
      <description>&lt;P&gt;Error in 'fit' command: External search command exited unexpectedly. getting same error.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 18:18:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/251310#M28806</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2019-07-01T18:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the fit command resulting in error "Failed to find Python for Scientific Computing Add-on..."?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/251311#M28807</link>
      <description>&lt;P&gt;me too and the name is correct.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 10:26:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/251311#M28807</guid>
      <dc:creator>fsaporito</dc:creator>
      <dc:date>2019-11-12T10:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the fit command resulting in error "Failed to find Python for Scientific Computing Add-on..."?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/684671#M80492</link>
      <description>&lt;P&gt;How do I install reinstall this add-on within a cloud instance?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 15:18:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/684671#M80492</guid>
      <dc:creator>yew</dc:creator>
      <dc:date>2024-04-18T15:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the fit command resulting in error "Failed to find Python for Scientific Computing Add...</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/684677#M80493</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.splunk.com/t5/user/viewprofilepage/user-id/267074" target="_blank"&gt;&lt;SPAN style="color:var(--ck-color-mention-text);"&gt;&lt;U&gt;&lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;@yew&lt;/SPAN&gt;&lt;/U&gt;&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I’m a Community Moderator in the Splunk Community.&lt;/P&gt;
&lt;P&gt;This question was posted 8 years ago, so it might not get the attention you need for your question to be answered. We recommend that you post a new question so that your issue can get the &amp;nbsp;visibility it deserves. To increase your chances of getting help from the community, follow &lt;A href="http://docs.splunk.com/Documentation/Splunkbase/splunkbase/Answers/Questions" target="_blank"&gt;&lt;U&gt;these guidelines&lt;/U&gt;&lt;/A&gt; in the Splunk Answers User Manual when creating your post.&lt;/P&gt;
&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 15:54:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/684677#M80493</guid>
      <dc:creator>DanielPi</dc:creator>
      <dc:date>2024-04-18T15:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the fit command resulting in error "Failed to find Python for Scientific Computing Add...</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/684678#M80494</link>
      <description>&lt;P&gt;It's okay. I was able to figure out how to install this. It's a bit odd that dependencies like this are not automatically managed.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 15:55:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-is-the-fit-command-resulting-in-error-quot-Failed-to-find/m-p/684678#M80494</guid>
      <dc:creator>yew</dc:creator>
      <dc:date>2024-04-18T15:55:37Z</dc:date>
    </item>
  </channel>
</rss>

