<?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: Unable to import python splunk-sdk and splunklib packages. in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Unable-to-import-python-splunk-sdk-and-splunklib-packages/m-p/681381#M11394</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253099"&gt;@Prathyusha891&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;A quick search on stackoverflow yields this. Try the steps mentioned in here to resolve the pycrypto dependency.&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/50080459/failed-installing-pycrypto-with-pip" target="_blank"&gt;https://stackoverflow.com/questions/50080459/failed-installing-pycrypto-with-pip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the reply helps, a Karma upvote would be appreciated.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Mar 2024 12:43:36 GMT</pubDate>
    <dc:creator>Gr0und_Z3r0</dc:creator>
    <dc:date>2024-03-20T12:43:36Z</dc:date>
    <item>
      <title>Unable to import python splunk-sdk and splunklib packages.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Unable-to-import-python-splunk-sdk-and-splunklib-packages/m-p/679766#M11365</link>
      <description>&lt;P&gt;Unable to import splunk-sdk&amp;nbsp; and splunklib python. Here are the error's I'm getting while importing. Any suggestions?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;splunklib:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]&lt;/LI-CODE&gt;
&lt;P&gt;note: This error originates from a subprocess, and is likely not a problem with pip.&lt;BR /&gt;ERROR: Failed building wheel for pycrypto&lt;BR /&gt;Running setup.py clean for pycrypto&lt;BR /&gt;Failed to build pycrypto&lt;BR /&gt;ERROR: Could not build wheels for pycrypto, which is required to install pyproject.toml-based projects&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;splunk-sdk :&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;line 18, in &amp;lt;module&amp;gt;
from splunklib.six.moves import map
ModuleNotFoundError: No module named 'splunklib.six.moves'
[end of output]&lt;/LI-CODE&gt;
&lt;P&gt;note: This error originates from a subprocess, and is likely not a problem with pip.&lt;BR /&gt;error: metadata-generation-failed&lt;/P&gt;
&lt;P&gt;× Encountered error while generating package metadata.&lt;BR /&gt;╰─&amp;gt; See above for output.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 18:37:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Unable-to-import-python-splunk-sdk-and-splunklib-packages/m-p/679766#M11365</guid>
      <dc:creator>Prathyusha891</dc:creator>
      <dc:date>2024-03-22T18:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import python splunk-sdk and splunklib packages.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Unable-to-import-python-splunk-sdk-and-splunklib-packages/m-p/681381#M11394</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253099"&gt;@Prathyusha891&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;A quick search on stackoverflow yields this. Try the steps mentioned in here to resolve the pycrypto dependency.&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/50080459/failed-installing-pycrypto-with-pip" target="_blank"&gt;https://stackoverflow.com/questions/50080459/failed-installing-pycrypto-with-pip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the reply helps, a Karma upvote would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 12:43:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Unable-to-import-python-splunk-sdk-and-splunklib-packages/m-p/681381#M11394</guid>
      <dc:creator>Gr0und_Z3r0</dc:creator>
      <dc:date>2024-03-20T12:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import python splunk-sdk and splunklib packages.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Unable-to-import-python-splunk-sdk-and-splunklib-packages/m-p/681532#M11401</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/253099"&gt;@Prathyusha891&lt;/a&gt;&amp;nbsp;- FYI splunklib doesn't come built in with Splunk. In your App you need to put the Splunklib explicitly, mostly in the bin folder of your App.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;pip install splunk-sdk --target ./bin&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!! Kindly upvote if it does!!!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 11:54:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Unable-to-import-python-splunk-sdk-and-splunklib-packages/m-p/681532#M11401</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2024-03-21T11:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import python splunk-sdk and splunklib packages.</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Unable-to-import-python-splunk-sdk-and-splunklib-packages/m-p/681718#M11405</link>
      <description>&lt;P&gt;Have you already seen this&amp;nbsp;&lt;A href="https://dev.splunk.com/enterprise/docs/devtools/python/sdk-python/gettingstartedpython" target="_blank"&gt;https://dev.splunk.com/enterprise/docs/devtools/python/sdk-python/gettingstartedpython&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 18:21:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Unable-to-import-python-splunk-sdk-and-splunklib-packages/m-p/681718#M11405</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-03-22T18:21:18Z</dc:date>
    </item>
  </channel>
</rss>

