PyEZ user are facing issue with respect to subject line error
from jnpr.junos import Device
>>> dev = Device(host='xxx',user='xxxx',passwd='xxx')
>>> dev.open()
No handlers could be found for logger "ncclient.transport.ssh"
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/jnpr/junos/device.py", line 483, in open
raise cnx_err
jnpr.junos.exception.ConnectError: ConnectError(host: esc-elit-01.dcbg.juniper.net, msg: 'EntryPoint' object has no attribute 'resolve')
Install cryptography 1.2.1 using below command
sudo pip install cryptography==1.2.1
or upgrade distribute
sudo pip install -U distribute
Ref: