Closed 111pontes closed 4 years ago
Have you tried pip install napalm
? @111pontes
Version in PyPI (2.5.0) certainly doesn't have the issue. It occurs in the develop
branch.
Dependency installs fine form PyPI:
(napalm-2.5.0) $ pip install napalm
Collecting napalm
Using cached napalm-2.5.0-py2.py3-none-any.whl (201 kB)
Collecting cffi>=1.11.3
Using cached cffi-1.14.0-cp36-cp36m-manylinux1_x86_64.whl (399 kB)
Processing ./.cache/pip/wheels/78/e7/50/4b96bb6b2206ea45a1663c9df64519ca0a15aac4ff0fca56cb/pyIOSXR-0.53-cp36-none-any.whl
Collecting netaddr
Using cached netaddr-0.7.19-py2.py3-none-any.whl (1.6 MB)
Collecting ciscoconfparse
Using cached ciscoconfparse-1.5.1-py3-none-any.whl (88 kB)
Processing ./.cache/pip/wheels/8b/99/a0/81daf51dcd359a9377b110a8a886b3895921802d2fc1b2397e/future-0.18.2-cp36-none-any.whl
Collecting textfsm
Using cached textfsm-1.1.0-py2.py3-none-any.whl (37 kB)
Collecting jinja2
Using cached Jinja2-2.11.1-py2.py3-none-any.whl (126 kB)
Collecting paramiko>=2.4.2
Using cached paramiko-2.7.1-py2.py3-none-any.whl (206 kB)
Processing ./.cache/pip/wheels/e7/89/58/6bb1b5440ad7040aa05bad229f49b50850487d9048796dd473/pyeapi-0.8.3-cp36-none-any.whl
Collecting netmiko==2.4.2
Using cached netmiko-2.4.2-py2.py3-none-any.whl (144 kB)
Requirement already satisfied: setuptools>=38.4.0 in ./.virtualenvs/napalm-2.5.0/lib/python3.6/site-packages (from napalm) (45.2.0)
Collecting junos-eznc==2.2.1
Using cached junos_eznc-2.2.1-py2.py3-none-any.whl (159 kB)
Collecting scp
Using cached scp-0.13.2-py2.py3-none-any.whl (9.5 kB)
Processing ./.cache/pip/wheels/14/8c/ce/6283d2a5b31c2a9a29c6209fe61996839dbd8515afd8e47ff6/nxapi_plumbing-0.5.2-cp36-none-any.whl
Processing ./.cache/pip/wheels/e5/9d/ad/2ee53cf262cba1ffd8afe1487eef788ea3f260b7e6232a80fc/PyYAML-5.3.1-cp36-cp36m-linux_x86_64.whl
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting lxml>=3.2.4
Using cached lxml-4.5.0-cp36-cp36m-manylinux1_x86_64.whl (5.8 MB)
Collecting dnspython
Using cached dnspython-1.16.0-py2.py3-none-any.whl (188 kB)
Collecting colorama
Using cached colorama-0.4.3-py2.py3-none-any.whl (15 kB)
Collecting passlib
Using cached passlib-1.7.2-py2.py3-none-any.whl (507 kB)
Collecting six
Using cached six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting MarkupSafe>=0.23
Using cached MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl (27 kB)
Collecting cryptography>=2.5
Using cached cryptography-2.8-cp34-abi3-manylinux2010_x86_64.whl (2.3 MB)
Collecting bcrypt>=3.1.3
Using cached bcrypt-3.1.7-cp34-abi3-manylinux1_x86_64.whl (56 kB)
Collecting pynacl>=1.0.1
Using cached PyNaCl-1.3.0-cp34-abi3-manylinux1_x86_64.whl (759 kB)
Collecting pyserial
Using cached pyserial-3.4-py2.py3-none-any.whl (193 kB)
Processing ./.cache/pip/wheels/85/01/9e/290f22eb7b51433a89393dcd0dd1ab2a607b7542f03dde6f9d/ncclient-0.6.7-py2.py3-none-any.whl
Collecting requests>=2.7.0
Using cached requests-2.23.0-py2.py3-none-any.whl (58 kB)
Collecting chardet<4,>=3.0.2
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Using cached urllib3-1.25.8-py2.py3-none-any.whl (125 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2019.11.28-py2.py3-none-any.whl (156 kB)
Collecting idna<3,>=2.5
Using cached idna-2.9-py2.py3-none-any.whl (58 kB)
Installing collected packages: pycparser, cffi, lxml, six, cryptography, bcrypt, pynacl, paramiko, future, textfsm, pyserial, scp, netmiko, pyIOSXR, netaddr, dnspython, colorama, passlib, ciscoconfparse, MarkupSafe, jinja2, pyeapi, pyYAML, ncclient, junos-eznc, chardet, urllib3, certifi, idna, requests, nxapi-plumbing, napalm
Successfully installed MarkupSafe-1.1.1 bcrypt-3.1.7 certifi-2019.11.28 cffi-1.14.0 chardet-3.0.4 ciscoconfparse-1.5.1 colorama-0.4.3 cryptography-2.8 dnspython-1.16.0 future-0.18.2 idna-2.9 jinja2-2.11.1 junos-eznc-2.2.1 lxml-4.5.0 napalm-2.5.0 ncclient-0.6.7 netaddr-0.7.19 netmiko-2.4.2 nxapi-plumbing-0.5.2 paramiko-2.7.1 passlib-1.7.2 pyIOSXR-0.53 pyYAML-5.3.1 pycparser-2.20 pyeapi-0.8.3 pynacl-1.3.0 pyserial-3.4 requests-2.23.0 scp-0.13.2 six-1.14.0 textfsm-1.1.0 urllib3-1.25.8
(napalm-2.5.0) $ python
Python 3.6.9 (default, Nov 7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import napalm
>>>
(napalm-2.5.0) $ pip list
Package Version
-------------- ----------
bcrypt 3.1.7
certifi 2019.11.28
cffi 1.14.0
chardet 3.0.4
ciscoconfparse 1.5.1
colorama 0.4.3
cryptography 2.8
dnspython 1.16.0
future 0.18.2
idna 2.9
Jinja2 2.11.1
junos-eznc 2.2.1
lxml 4.5.0
MarkupSafe 1.1.1
napalm 2.5.0
ncclient 0.6.7
netaddr 0.7.19
netmiko 2.4.2
nxapi-plumbing 0.5.2
paramiko 2.7.1
passlib 1.7.2
pip 20.0.2
pycparser 2.20
pyeapi 0.8.3
pyIOSXR 0.53
PyNaCl 1.3.0
pyserial 3.4
PyYAML 5.3.1
requests 2.23.0
scp 0.13.2
setuptools 45.2.0
six 1.14.0
textfsm 1.1.0
urllib3 1.25.8
wheel 0.34.2
(napalm-2.5.0) $ pip list | grep requests
requests 2.23.0
(napalm-2.5.0) $
(napalm-2.5.0) $ pip list | grep napalm
napalm 2.5.0
(napalm-2.5.0) $
Shouldn't requests
package be listed in requirements.txt
?
Hi @111pontes. I have been able to reproduce this. Yes, requests
should be a direct dependency of NAPALM now. We have integrated nxapi-plumbing into NAPALM directly, and requests
was a dependency of this third party library. Thanks for reporting!
Description of Issue/Question
Note: Please check https://guides.github.com/features/mastering-markdown/ to see how to properly format your request.
Did you follow the steps from https://github.com/napalm-automation/napalm#faq
(Place an
x
between the square brackets where applicable)Setup
napalm version
(Paste verbatim output from
pip freeze | grep napalm
between quotes below)Network operating system version
(Paste verbatim output from
show version
- or equivalent - between quotes below)Steps to Reproduce the Issue
Error Traceback
(Paste the complete traceback of the exception between quotes below)