<?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 Guestshell -  IOS XE 17.09.03a - import cli Illegal instruction in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/guestshell-ios-xe-17-09-03a-import-cli-illegal-instruction/m-p/5278616#M8566</link>
    <description>&lt;P&gt;Hi community ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope you are doing great.After spending a good time reading and doing some troubleshooting I have decided to ask for some same.I setup guestshell in order to run python using eem. I am getting the following error :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;router-lab#more&amp;nbsp; bootflash:/guest-share/script.txt&lt;/P&gt;&lt;P&gt;%Error opening bootflash:/guest-share/script.txt (No such file or directory)&lt;/P&gt;&lt;P&gt;I thought the script was not the problem and instead was the following :&lt;/P&gt;&lt;P&gt;action 1.1 cli command "guestshell run python3 script.py Loopback99"&lt;/P&gt;&lt;P&gt;but after reading this post :&amp;nbsp;&lt;A href="https://github.com/krishna426426/Module-1-Guestshell" target="_blank" rel="noopener"&gt;https://github.com/krishna426426/Module-1-Guestshell &amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I changed the action 1.1 to&amp;nbsp;action 1.1 cli command "guestshell run python3 script.py Loopback99" and I was getting the same error .&lt;/P&gt;&lt;P&gt;I discovered that the issue was related to the cli library :&lt;/P&gt;&lt;P&gt;[guestshell@guestshell ~]$ python3 -c "import cli"&lt;BR /&gt;Illegal instruction (core dumped)&lt;/P&gt;&lt;P&gt;I tried what I found in the folliwing post but not success :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cisco.com/t5/controllers/guestshell-errors-in-python3-interpreter/td-p/4831947" target="_blank" rel="noopener"&gt;https://community.cisco.com/t5/controllers/guestshell-errors-in-python3-interpreter/td-p/4831947&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;</description>
    <pubDate>Sat, 05 Apr 2025 17:12:57 GMT</pubDate>
    <dc:creator>c-lopez78</dc:creator>
    <dc:date>2025-04-05T17:12:57Z</dc:date>
    <item>
      <title>Guestshell -  IOS XE 17.09.03a - import cli Illegal instruction</title>
      <link>https://community.cisco.com/t5/network-platform-api/guestshell-ios-xe-17-09-03a-import-cli-illegal-instruction/m-p/5278616#M8566</link>
      <description>&lt;P&gt;Hi community ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope you are doing great.After spending a good time reading and doing some troubleshooting I have decided to ask for some same.I setup guestshell in order to run python using eem. I am getting the following error :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;router-lab#more&amp;nbsp; bootflash:/guest-share/script.txt&lt;/P&gt;&lt;P&gt;%Error opening bootflash:/guest-share/script.txt (No such file or directory)&lt;/P&gt;&lt;P&gt;I thought the script was not the problem and instead was the following :&lt;/P&gt;&lt;P&gt;action 1.1 cli command "guestshell run python3 script.py Loopback99"&lt;/P&gt;&lt;P&gt;but after reading this post :&amp;nbsp;&lt;A href="https://github.com/krishna426426/Module-1-Guestshell" target="_blank" rel="noopener"&gt;https://github.com/krishna426426/Module-1-Guestshell &amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I changed the action 1.1 to&amp;nbsp;action 1.1 cli command "guestshell run python3 script.py Loopback99" and I was getting the same error .&lt;/P&gt;&lt;P&gt;I discovered that the issue was related to the cli library :&lt;/P&gt;&lt;P&gt;[guestshell@guestshell ~]$ python3 -c "import cli"&lt;BR /&gt;Illegal instruction (core dumped)&lt;/P&gt;&lt;P&gt;I tried what I found in the folliwing post but not success :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cisco.com/t5/controllers/guestshell-errors-in-python3-interpreter/td-p/4831947" target="_blank" rel="noopener"&gt;https://community.cisco.com/t5/controllers/guestshell-errors-in-python3-interpreter/td-p/4831947&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Sat, 05 Apr 2025 17:12:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/guestshell-ios-xe-17-09-03a-import-cli-illegal-instruction/m-p/5278616#M8566</guid>
      <dc:creator>c-lopez78</dc:creator>
      <dc:date>2025-04-05T17:12:57Z</dc:date>
    </item>
  </channel>
</rss>

