<?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 a Python library 'PyJWT' , while installing a App/Add-on in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-install-a-Python-library-PyJWT-while-installing-a-App-Add/m-p/699793#M81099</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/272386"&gt;@sbel&lt;/a&gt;- It is not recommend to install the package on install of App/Add-on, for a lot of reasons, it always good idea to bundle it as part of the App/Add-on build.&lt;/P&gt;&lt;P&gt;Now the case of what &lt;STRONG&gt;OS version&lt;/STRONG&gt; Splunk Cloud is running, you can ask this to &lt;STRONG&gt;Splunk Cloud Support&lt;/STRONG&gt;.&lt;/P&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>Mon, 23 Sep 2024 06:41:24 GMT</pubDate>
    <dc:creator>VatsalJagani</dc:creator>
    <dc:date>2024-09-23T06:41:24Z</dc:date>
    <item>
      <title>How to install a Python library 'PyJWT' , while installing a App/Add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-install-a-Python-library-PyJWT-while-installing-a-App-Add/m-p/699651#M81097</link>
      <description>&lt;P&gt;In our App/Add-on&amp;nbsp; python code we need access to&amp;nbsp;&lt;SPAN&gt;Python library which allows to encode and decode JSON Web Tokens (JWT).&amp;nbsp; Currently we packaged cffi and PyJWT under lib with necessary&amp;nbsp; cffi backend required for each OS.&amp;nbsp; I.e&amp;nbsp; for linux : _cffi_backend.cpython-37m-x86_64-linux-gnu.so and for Windows :&amp;nbsp; _cffi_backend.cp37-win_amd64.pyd.&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This worked until recently.&amp;nbsp; where we updated the Add-on Splunk-sdk-python to 2.0.2 and the Add-on started failing on Splunk Cloud environment.&amp;nbsp; &amp;nbsp;Error: No module named '_cffi_backend'.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What OS and version is running the splunk cloud? and Is there any way to invoke&amp;nbsp; python library install command 'pip install pyjwt' while add-on install ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 03:21:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-install-a-Python-library-PyJWT-while-installing-a-App-Add/m-p/699651#M81097</guid>
      <dc:creator>sbel</dc:creator>
      <dc:date>2024-09-20T03:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to install a Python library 'PyJWT' , while installing a App/Add-on</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-install-a-Python-library-PyJWT-while-installing-a-App-Add/m-p/699793#M81099</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/272386"&gt;@sbel&lt;/a&gt;- It is not recommend to install the package on install of App/Add-on, for a lot of reasons, it always good idea to bundle it as part of the App/Add-on build.&lt;/P&gt;&lt;P&gt;Now the case of what &lt;STRONG&gt;OS version&lt;/STRONG&gt; Splunk Cloud is running, you can ask this to &lt;STRONG&gt;Splunk Cloud Support&lt;/STRONG&gt;.&lt;/P&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>Mon, 23 Sep 2024 06:41:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-install-a-Python-library-PyJWT-while-installing-a-App-Add/m-p/699793#M81099</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2024-09-23T06:41:24Z</dc:date>
    </item>
  </channel>
</rss>

