"import request" on NX-OS -> Error Message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2019 09:11 AM
Hi all,
can anybody help me please ? Thats my first steps with pyton on nx-os.
When i insert the command "import request", to load the module, i become this error Message:
9kv_lab# python Python 2.7.11 (default, Feb 26 2018, 03:34:16)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import request
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named request
The N9Kv runs on "virtual box" with Linux Mint.
Is it possible to install the module on the N9Kv ?
Rgds
- Labels:
-
Other Networking Topics
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2019 02:14 PM
its running ....

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2019 10:33 AM
1. I think module name is "requests"
2. "pip list" to see if it's there if not, won't hurt to try pip install.
