You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package hier-config==3.0.0 does not include the yaml module as part of its dependencies. Therefore, the responsibility for installing PyYAML (the package providing the yaml module) lies with ciscoconfparse, which should declare it as a dependency and ensure it gets installed automatically.
fromciscoconfparseimportCiscoConfParse
Traceback (most recent call last):
File "/home/jakub/private/test/main.py", line 1, in <module>
from ciscoconfparse import CiscoConfParse
File "/home/jakub/private/test/.venv/lib/python3.11/site-packages/ciscoconfparse/__init__.py", line 30, in <module>
from ciscoconfparse.ciscoconfparse import *
File "/home/jakub/private/test/.venv/lib/python3.11/site-packages/ciscoconfparse/ciscoconfparse.py", line 48, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
CiscoConfParse Version
1.9.51
What Operating System are you using?
Linux - Debian, Ubuntu, CentOS, RHEL or others
What Python version(s) have this problem?
Python 3.10, Other (please specify)
Show us how to reproduce the problem. Please tell us if the problem is specific to certain inputs or situations.
pipinstallciscoconfparse
Python tracebacks
Traceback (most recent call last):
File "/home/jakub/private/test/main.py", line 1, in<module>
from ciscoconfparse import CiscoConfParse
File "/home/jakub/private/test/.venv/lib/python3.11/site-packages/ciscoconfparse/__init__.py", line 30, in<module>
from ciscoconfparse.ciscoconfparse import *
File "/home/jakub/private/test/.venv/lib/python3.11/site-packages/ciscoconfparse/ciscoconfparse.py", line 48, in<module>
import yaml
ModuleNotFoundError: No module named 'yaml'
Contact Details
[email protected]
What happened?
The package hier-config==3.0.0 does not include the yaml module as part of its dependencies. Therefore, the responsibility for installing PyYAML (the package providing the yaml module) lies with ciscoconfparse, which should declare it as a dependency and ensure it gets installed automatically.
CiscoConfParse Version
1.9.51
What Operating System are you using?
Linux - Debian, Ubuntu, CentOS, RHEL or others
What Python version(s) have this problem?
Python 3.10, Other (please specify)
Show us how to reproduce the problem. Please tell us if the problem is specific to certain inputs or situations.
Python tracebacks
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: