Traceback (most recent call last):


 "~/Softwares/anaconda3/5.0.0/bin/pyinstaller", line 11, in <module>

load_entry_point('PyInstaller==3.4.dev0+2611919ba', 'console_scripts', 'pyinstaller')()


 "~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/PyInstaller/__main__.py", line 94, in run

run_build(pyi_config, spec_file, **vars(args))


 "~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/PyInstaller/__main__.py", line 46, in run_build

PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)


 "~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 791, in main

build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))


 "~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/PyInstaller/building/build_main.py", line 737, in build

exec(text, spec_namespace)


 "<string>", line 26, in <module>


 "~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/PyInstaller/building/api.py", line 411, in __init__

strip_binaries=self.strip, upx_binaries=self.upx,


 "~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/PyInstaller/building/api.py", line 196, in __init__

self.__postinit__()


 "~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/PyInstaller/building/datastruct.py", line 161, in __postinit__

self.assemble()


 "~/Softwares/anaconda3/5.0.0/lib/python3.6/site-packages/PyInstaller/building/api.py", line 273, in assemble

pylib_name = os.path.basename(bindepend.get_python_library_path())


 "~/Softwares/anaconda3/5.0.0/lib/python3.6/posixpath.py", line 144, in basename

p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Traceback (most recent call last):


 "/Users/danielteycheney/Documents/Networking/Python/ansible-meetup-demo/ansible-mel-meetup-2020/scratch/nxos_validate.py", line 12, in <module>

pprint.pprint(nxos.compliance_report("automated-validation.yml"))


 "/Users/danielteycheney/Documents/Networking/Python/ansible-meetup-demo/venv/lib/python3.6/site-packages/napalm/base/base.py", line 1676, in compliance_report

self, validation_file=validation_file, validation_source=validation_source


 "/Users/danielteycheney/Documents/Networking/Python/ansible-meetup-demo/venv/lib/python3.6/site-packages/napalm/base/validate.py", line 204, in compliance_report

actual_results = getattr(cls, getter)(**kwargs)


 "/Users/danielteycheney/Documents/Networking/Python/ansible-meetup-demo/venv/lib/python3.6/site-packages/napalm/nxos/nxos.py", line 1127, in get_interfaces_ip

ipv6_command, "TABLE_intf", "ROW_intf"


 "/Users/danielteycheney/Documents/Networking/Python/ansible-meetup-demo/venv/lib/python3.6/site-packages/napalm/nxos/nxos.py", line 639, in _get_command_table

json_output = json.loads(json_output)


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/__init__.py", line 348, in loads

'not {!r}'.format(s.__class__.__name__))
TypeError: the JSON object must be str, bytes or bytearray, not 'NoneType'
