Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import Error: jnpr.junos
#7
I was able to loaded with some error and now I run in to differen issue. see below.
------
C:\Users\otay\AppData\Local\Programs\Python\Python37\Scripts\py-junos-eznc-master>py setup.py install
running install
running bdist_egg
..
..
==> Note: I had some error see below. It might be ok since I am not connected to internet <==
;;
;
Reading https://pypi.org/simple/transitions/
Download error on https://pypi.org/simple/transitions/: [Errno 11001] getaddrinfo failed -- Some packages may not be found!
Couldn't find index page for 'transitions' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
Download error on https://pypi.org/simple/: [Errno 11001] getaddrinfo failed -- Some packages may not be found!
No local packages or working download links found for transitions
error: Could not find suitable distribution for Requirement.parse('transitions')

C:\Users\otay\AppData\Local\Programs\Python\Python37\Scripts\py-junos-eznc-master>running install
'running' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\otay\AppData\Local\Programs\Python\Python37\Scripts\py-junos-eznc-master>running bdis_egg
'running' is not recognized as an internal or external command,
operable program or batch file.

==> Now looking for to import module six and it not there. I do see statement in device.py import six <==

C:\Users\otay\AppData\Local\Programs\Python\Python37\Scripts\py-junos-eznc-master>py
Python 3.7.6 (tags/v3.7.6:43364a7ae0, Dec 19 2019, 00:42:30) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from jnpr.junos import device
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\otay\AppData\Local\Programs\Python\Python37\lib\site-packages\junos_eznc-2.3.2.dev0-py3.7.egg\jnpr\junos\__init__.py", line 1, in <module>
from jnpr.junos.device import Device
File "C:\Users\otay\AppData\Local\Programs\Python\Python37\lib\site-packages\junos_eznc-2.3.2.dev0-py3.7.egg\jnpr\junos\device.py", line 3, in <module>
import six
ModuleNotFoundError: No module named 'six'
>>>
Reply


Messages In This Thread
Import Error: jnpr.junos - by otay - Feb-20-2020, 06:51 PM
RE: Import Error: jnpr.junos - by snippsat - Feb-20-2020, 08:11 PM
RE: Import Error: jnpr.junos - by otay - Feb-21-2020, 02:44 PM
RE: Import Error: jnpr.junos - by snippsat - Feb-21-2020, 05:56 PM
RE: Import Error: jnpr.junos - by otay - Feb-24-2020, 03:38 PM
RE: Import Error: jnpr.junos - by snippsat - Feb-24-2020, 04:41 PM
RE: Import Error: jnpr.junos - by otay - Feb-24-2020, 08:04 PM
RE: Import Error: jnpr.junos - by snippsat - Feb-24-2020, 10:06 PM
RE: Import Error: jnpr.junos - by otay - Feb-26-2020, 08:07 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020