I created a custom EE and that image has the “pip install junos-eznc” package installed, but when i use that run the job, the job still complains that the “jnpr Module not found”.
Can someone help me on this?
Thanks,
Vishnu
I created a custom EE and that image has the “pip install junos-eznc” package installed, but when i use that run the job, the job still complains that the “jnpr Module not found”.
Can someone help me on this?
Thanks,
Vishnu
C how did you object the pip into the ee?
Its actually done through ansible-builder.
the requirements.txt file has the required packages mentioned. When i access the image locally and import jnpr module it works.
ansible-builder cat requirements.txt
=19.0.0
pypsrp
urllib3
natsort
git+https://github.com/ansible/ansible-builder.git@devel#egg=ansible-builder
junos-eznc
Thanks,
Vishnu
Hmm, are you running python 2.x locally when it works? Might be a python2 vs.3 compatibility issue.
If I look at https://galaxy.ansible.com/Juniper/junos which points me to https://github.com/Juniper/ansible-junos-stdlib there are dependencies there will you don’t list.
Have you run the job with max verbosity to see if it gives you more detail on the error?