Closed ejmmanning closed 8 years ago
Hi
I noticed that the script is not using a shebang compatible with pyenv https://github.com/Juniper/py-junos-netconify/blob/master/tools/netconify
I would suggest to replace the first line with
#!/usr/bin/env python
I just created a pull request for it, please can you try https://github.com/Juniper/py-junos-netconify/pull/39
Thanks Damien
dgarros Thank I tried that and it did not help
I type this to verify the module was installed
NAME netconify
FILE /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/netconify/init.py
PACKAGE CONTENTS cmdo constants facts tty tty_netconf tty_serial tty_telnet
SUBMODULES C
DATA author = 'Jeremy Schulman, @nwkautomaniac' date = '2016-Feb-08' version = '1.0.2'
VERSION 1.0.2
DATE 2016-Feb-08 :
Hello Nitin
How do I fix this
Ed
On Mar 13, 2016, at 8:47 AM, Nitin Kumar notifications@github.com wrote:
Closed #38 via e961db0.
— Reply to this email directly or view it on GitHub.
It got closed automatically because nitin merged the pull request i created. Sorry about that. I understand that you resolved your issue so i guess we're good
Thanks Damien On Mar 13, 2016 6:25 AM, "ejmmanning" notifications@github.com wrote:
Hello Nitin
How do I fix this
Ed
On Mar 13, 2016, at 8:47 AM, Nitin Kumar notifications@github.com wrote:
Closed #38 via e961db0.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/Juniper/py-junos-netconify/issues/38#issuecomment-195957588 .
As per @ejmmanning After upgrading his system python, this issue got resolved.
I install the library when I try to run it ,I get the following error /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'netconify': [Errno 2] No such file or directory
I am running version python2.7.9 on a MAC
Thank you