cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
148
Views
0
Helpful
0
Replies

Guestshell - IOS XE 17.09.03a - import cli Illegal instruction

c-lopez78
Level 1
Level 1

Hi community ,

 

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 :

 

router-lab#more  bootflash:/guest-share/script.txt

%Error opening bootflash:/guest-share/script.txt (No such file or directory)

I thought the script was not the problem and instead was the following :

action 1.1 cli command "guestshell run python3 script.py Loopback99"

but after reading this post : https://github.com/krishna426426/Module-1-Guestshell  

I changed the action 1.1 to action 1.1 cli command "guestshell run python3 script.py Loopback99" and I was getting the same error .

I discovered that the issue was related to the cli library :

[guestshell@guestshell ~]$ python3 -c "import cli"
Illegal instruction (core dumped)

I tried what I found in the folliwing post but not success :

https://community.cisco.com/t5/controllers/guestshell-errors-in-python3-interpreter/td-p/4831947

Kind regards

0 Replies 0