eNMS-automation / eNMS

An enterprise-grade vendor-agnostic network automation platform.
https://www.enms.io/
GNU General Public License v3.0
814 stars 162 forks source link

Debian 12: AttributeError: module 'ruamel.yaml' has no attribute 'CLoader'. Did you mean: 'Loader'? #414

Closed dBitech closed 8 months ago

dBitech commented 8 months ago

File "/opt/enms/eNMS/app.py", line 1, in from eNMS.server import server as app # noqa: F401 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/enms/eNMS/eNMS/init.py", line 20, in initialize() File "/opt/enms/eNMS/eNMS/init.py", line 16, in initialize controller._initialize(first_init) File "/opt/enms/eNMS/eNMS/controller.py", line 44, in _initialize self.migration_import( File "/opt/enms/eNMS/eNMS/controller.py", line 968, in migration_import instances = yaml.load(migration_file, Loader=yaml.CLoader) ^^^^^^^^^^^^ AttributeError: module 'ruamel.yaml' has no attribute 'CLoader'. Did you mean: 'Loader'?

dBitech commented 8 months ago

resolved apt-get install python3-ruamel.yaml