It seems that after upgrading the pyats/genie to 19.8. I hit a bunch of errors when I run the "genie" shell command..The error keep saying it can't import the name "Csr1000vPatterns". I didn't encounter any error during the pip installation.
I also did a reinstall "pip install --ignore-installed pyats genie --user" but it didn't help....Any idea what when wrong?
Traceback (most recent call last):
File "/home/lion/.local/bin/genie", line 6, in <module>
from genie.cli.__main__ import main
File "src/genie/cli/__main__.py", line 8, in init genie.cli.__main__
File "src/genie/cli/commands/learn.py", line 22, in init genie.cli.commands.learn
File "/home/lion/.local/lib/python3.6/site-packages/genie/conf/__init__.py", line 19, in <module>
from .main import Genie
File "src/genie/conf/main.py", line 4, in init genie.conf.main
File "/home/lion/.local/lib/python3.6/site-packages/genie/conf/base/__init__.py", line 4, in <module>
from .device import Device
File "src/genie/conf/base/device.py", line 11, in init genie.conf.base.device
File "/home/lion/.local/lib/python3.6/site-packages/genie/libs/parser/__init__.py", line 16, in <module>
from .base import tcl_invoke_ats_cmd,\
File "/home/lion/.local/lib/python3.6/site-packages/genie/libs/parser/base.py", line 17, in <module>
from genie.metaparser import MetaParser
File "/home/lion/.local/lib/python3.6/site-packages/genie/metaparser/__init__.py", line 7, in <module>
from ._metaparser import *
File "src/genie/metaparser/_metaparser.py", line 11, in init genie.metaparser._metaparser
File "/home/lion/.local/lib/python3.6/site-packages/unicon/__init__.py", line 13, in <module>
File "src/unicon/core/pluginmanager.py", line 278, in unicon.core.pluginmanager.PluginManager.discover_builtin_plugins
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/home/lion/.local/lib/python3.6/site-packages/unicon/plugins/iosxe/csr1000v/service_statements.py", line 4, in <module>
from .patterns import Csr1000vPatterns
ImportError: cannot import name 'Csr1000vPatterns'
My pip list of the pyats/genie are the latest 19.8:
If you wonder about Big Data and Analytics, the sessions below at Cisco Live Berlin will be for for you to attend. These sessions will cover what would need to know about Big Data, what are the latest technologies and tools for you to perform tasks of ana...
What does the term "data developer" mean? Apparently, it can mean different things to different people, in different contexts, at different times in history, or in different layers of a solution stack. It implies a developer who focuses on data applicatio...