(pyats) -bash-4.2$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
Used pip install ydk
(pyats) scoroger@wnburcdnst-ats8 /opt/ats/scoroger/pyats: python
Python 3.4.1 (default, Aug 15 2019, 12:00:51)
[GCC 5.3.1 20160406 (Red Hat 5.3.1-6)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ydk
>>> from ydk.services import CRUDService
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/ats/scoroger/pyats/lib/python3.4/site-packages/ydk/services/__init__.py", line 17, in <module>
from .codec_service import CodecService
File "/opt/ats/scoroger/pyats/lib/python3.4/site-packages/ydk/services/codec_service.py", line 21, in <module>
from ydk.entity_utils import get_data_node_from_entity as _get_data_node_from_entity
File "/opt/ats/scoroger/pyats/lib/python3.4/site-packages/ydk/entity_utils/__init__.py", line 17, in <module>
from ydk.ext.entity_utils import get_data_node_from_entity
File "/opt/ats/scoroger/pyats/lib/python3.4/site-packages/ydk/exthook.py", line 87, in load_module
raise ImportError('No module named %s' % fullname)
ImportError: No module named ydk.ext.entity_utils