<?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: Python interpreter error Ansible in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/python-interpreter-error-ansible/m-p/572435#M115183</link>
    <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1111656013"&gt;@pilgrimblues&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The error that is most important here from a really brief glance is the one that points out that you're missing pan-python. You need to install that so things can actually function.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2024 22:13:53 GMT</pubDate>
    <dc:creator>BPry</dc:creator>
    <dc:date>2024-01-09T22:13:53Z</dc:date>
    <item>
      <title>Python interpreter error Ansible</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/python-interpreter-error-ansible/m-p/572403#M115178</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 18:50:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/python-interpreter-error-ansible/m-p/572403#M115178</guid>
      <dc:creator>pilgrimblues</dc:creator>
      <dc:date>2024-01-10T18:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Python interpreter error Ansible</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/python-interpreter-error-ansible/m-p/572435#M115183</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1111656013"&gt;@pilgrimblues&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The error that is most important here from a really brief glance is the one that points out that you're missing pan-python. You need to install that so things can actually function.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 22:13:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/python-interpreter-error-ansible/m-p/572435#M115183</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2024-01-09T22:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Python interpreter error Ansible</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/python-interpreter-error-ansible/m-p/572441#M115187</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1111656013"&gt;@pilgrimblues&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Then the interpreter that Ansible is using and the one that you did the pip install on are not the same. You can find the interpreter path by doing the following:&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;import sys
print(sys.executable)&lt;/LI-CODE&gt;
&lt;P&gt;Part of the initial setup of Ansible should have been setting the interpreter to what you wanted. I'd recommend walking through an Ansible tutorial to get it up and running before you start following what PAN has, as PAN assumes that you have a functional environment fully setup first.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could also just do the install through ansible.builtin.pip to run the install through the interpreter that Ansible is already using.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 22:28:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/python-interpreter-error-ansible/m-p/572441#M115187</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2024-01-09T22:28:18Z</dc:date>
    </item>
  </channel>
</rss>

