matt852/netconfig

Error when Creating Local Database

Opened this issue · 0 comments

I am getting the following error when running the dbcreate.py file.

Traceback (most recent call last):
File "db_create.py", line 7, in
from app import db
File "/home/netconfig/netconfig/app/init.py", line 6, in
from .data_handler import DataHandler
File "/home/netconfig/netconfig/app/data_handler.py", line 9, in
from .device_classes import deviceType
File "/home/netconfig/netconfig/app/device_classes/deviceType.py", line 1, in
from .device_definitions.cisco import CiscoIOS, CiscoNXOS, CiscoASA
File "/home/netconfig/netconfig/app/device_classes/device_definitions/cisco/init.py", line 1, in
from .cisco_ios import CiscoIOS
File "/home/netconfig/netconfig/app/device_classes/device_definitions/cisco/cisco_ios.py", line 2, in
from app.device_classes.device_definitions.cisco_base_device import CiscoBaseDevice
File "/home/netconfig/netconfig/app/device_classes/device_definitions/cisco_base_device.py", line 1, in
from .base_device import BaseDevice
File "/home/netconfig/netconfig/app/device_classes/device_definitions/base_device.py", line 1, in
from app.scripts_bank.lib.netmiko_functions import runMultipleSSHCommandsInSession
File "/home/netconfig/netconfig/app/scripts_bank/lib/netmiko_functions.py", line 4, in
import netmiko as nm
File "/usr/local/lib/python2.7/dist-packages/netmiko/init.py", line 8, in
from netmiko.ssh_dispatcher import ConnectHandler
File "/usr/local/lib/python2.7/dist-packages/netmiko/ssh_dispatcher.py", line 4, in
from netmiko.a10 import A10SSH
File "/usr/local/lib/python2.7/dist-packages/netmiko/a10/init.py", line 2, in
from netmiko.a10.a10_ssh import A10SSH
File "/usr/local/lib/python2.7/dist-packages/netmiko/a10/a10_ssh.py", line 4, in
from netmiko.cisco_base_connection import CiscoSSHConnection
File "/usr/local/lib/python2.7/dist-packages/netmiko/cisco_base_connection.py", line 3, in
from netmiko.base_connection import BaseConnection
File "/usr/local/lib/python2.7/dist-packages/netmiko/base_connection.py", line 24, in
from netmiko.utilities import write_bytes, check_serial_port, get_structured_data
File "/usr/local/lib/python2.7/dist-packages/netmiko/utilities.py", line 9, in
from netmiko._textfsm import _clitable as clitable
File "/usr/local/lib/python2.7/dist-packages/netmiko/_textfsm/init.py", line 3, in
from netmiko._textfsm import _clitable
File "/usr/local/lib/python2.7/dist-packages/netmiko/_textfsm/_clitable.py", line 34, in
import copyable_regex_object
ImportError: No module named copyable_regex_object