05-27-2021 03:44 AM
Successfully uninstalled pip-21.1.1
pip3.9 install ncclient
Requirement already satisfied
python3.9 NC-get-config.py --host ios-xe-mgmt.cisco.com -u developer -p C1sco12345 --port 10000
ModuleNotFoundError: No module named 'ncclient'
Solved! Go to Solution.
05-27-2021 04:58 AM
@Jaki i would use the team support space for DevNet here for these types of question as this community is for issues with sandbox themselves not local code. Here is the link https://developer.cisco.com/site/support/
STUACLAR-M-R6EU:~ stuaclar$ source venv/bin/activate (venv) STUACLAR-M-R6EU:~ stuaclar$ pip -V pip 20.3.3 from /Users/stuaclar/venv/lib/python3.6/site-packages/pip (python 3.6) (venv) STUACLAR-M-R6EU:~ stuaclar$ python -V Python 3.6.5 (venv) STUACLAR-M-R6EU:~ stuaclar$ python -c "import sys; print('\n'.join(sys.path))" /Users/stuaclar/venv/lib/python36.zip /Users/stuaclar/venv/lib/python3.6 /Users/stuaclar/venv/lib/python3.6/lib-dynload /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6 /Users/stuaclar/venv/lib/python3.6/site-packages
If the python version number in the pip information is inconsistent with the python information, or the file path of pip and the library path of python do not match, you should reinstall your package with the correct pip.
Take a look at this content for setting up your local machine. https://developer.cisco.com/learning-labs/setup/
Hope this helps.
05-27-2021 04:58 AM
@Jaki i would use the team support space for DevNet here for these types of question as this community is for issues with sandbox themselves not local code. Here is the link https://developer.cisco.com/site/support/
STUACLAR-M-R6EU:~ stuaclar$ source venv/bin/activate (venv) STUACLAR-M-R6EU:~ stuaclar$ pip -V pip 20.3.3 from /Users/stuaclar/venv/lib/python3.6/site-packages/pip (python 3.6) (venv) STUACLAR-M-R6EU:~ stuaclar$ python -V Python 3.6.5 (venv) STUACLAR-M-R6EU:~ stuaclar$ python -c "import sys; print('\n'.join(sys.path))" /Users/stuaclar/venv/lib/python36.zip /Users/stuaclar/venv/lib/python3.6 /Users/stuaclar/venv/lib/python3.6/lib-dynload /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6 /Users/stuaclar/venv/lib/python3.6/site-packages
If the python version number in the pip information is inconsistent with the python information, or the file path of pip and the library path of python do not match, you should reinstall your package with the correct pip.
Take a look at this content for setting up your local machine. https://developer.cisco.com/learning-labs/setup/
Hope this helps.
05-27-2021 08:15 AM
@bigvilbeard. Thank you so much for directing me in the right direction.
Now it is working for me after using the above set of commands. Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide