CCIE Marathon discussed the below topics on this video:

  • pyats installation and handling the errors encountered during installations
  • created testbed based on his lab setup
  • export credentials of lab device to the devops machine
  • test the pyats parse module
  • used IDE VSCode to manage or run the scripts

Errors Encountered during the pyats installations:


ERROR: Failed building wheel for pyftpdlib
Running setup.py clean for pyftpdlib
Building wheel for tftpy (setup.py) … error
ERROR: Command errored out with exit status 1:
command: /home/admin01/workspace/pyats/pyats_venv/bin/python3 -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘”‘”‘/tmp/pip-install-dpcslmz8/tftpy/setup.py’”‘”‘; file=’”‘”‘/tmp/pip-install-dpcslmz8/tftpy/setup.py’”‘”‘;f=getattr(tokenize, ‘”‘”‘open’”‘”‘, open)(file);code=f.read().replace(‘”‘”‘\r\n’”‘”‘, ‘”‘”‘\n’”‘”‘);f.close();exec(compile(code, file, ‘”‘”‘exec’”‘”‘))’ bdist_wheel -d /tmp/pip-wheel-jnuzsri1
cwd: /tmp/pip-install-dpcslmz8/tftpy/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …]
or: setup.py –help [cmd1 cmd2 …]
or: setup.py –help-commands
or: setup.py cmd –help

error: invalid command ‘bdist_wheel’


ERROR: Failed building wheel for tftpy
Running setup.py clean for tftpy
Failed to build yamllint async-lru backports.ssl pyftpdlib tftpy
Installing collected packages: six, junit-xml, pyats.results, pyats.datastructures, python-engineio, python-socketio, async-lru, idna, multidict, yarl, frozenlist, aiosignal, charset-normalizer, attrs, async-timeout, aiohttp, MarkupSafe, jinja2, pyyaml, aiohttp-swagger, chardet, aiofiles, pyats.log, psutil, pyats.aereport, pycparser, cffi, cryptography, pyats.async, dill, unicon.plugins, unicon, pyats.connections, pathspec, yamllint, pyats.topology, distro, pyats.utils, pyats.aetest, urllib3, certifi, requests, pyats.kleenex, smmap, gitdb, gitpython, pyats.reporter, pyats.easypy, pyats.tcl, robotframework, genie.libs.robot, click, python-dateutil, arrow, jinja2-time, poyo, text-unidecode, python-slugify, binaryornot, cookiecutter, netaddr, jsonpickle, wcwidth, PrettyTable, xmltodict, genie.libs.parser, pyftpdlib, tftpy, genie.libs.filetransferutils, wheel, genie.libs.health, genie.libs.ops, genie.libs.conf, genie.libs.clean, ruamel.yaml.clib, ruamel.yaml, genie.libs.sdk, tqdm, genie, genie.telemetry, backports.ssl, websocket-client, pyopenssl, ixnetwork, ixnetwork-restpy, genie.trafficgen, pyats.robot, xlrd, xlsxwriter, xlwt, requests-toolbelt, pyats.contrib, pyats
Running setup.py install for async-lru … done
Running setup.py install for yamllint … done
Running setup.py install for pyftpdlib … done
Running setup.py install for tftpy … done
Running setup.py install for backports.ssl … done

Leave a comment

Quote of the week

"People ask me what I do in the winter when there's no baseball. I'll tell you what I do. I stare out the window and wait for spring."

~ Rogers Hornsby