Hi all,
Just going through the getting started docs (http://ydk.cisco.com/py/docs/getting_started.html) and noticed a couple of errors/omissions with respect to installing on macOS.
1. (http://ydk.cisco.com/py/docs/getting_started.html#macos) Instructions say to "brew install xml2" but I found I also need to install libxml2 to avoid the following error:
~/git/sdapov% python test.py
Traceback (most recent call last):
File "test.py", line 1, in <module>
from ydk_.services import CRUDService
ImportError: dlopen(/Users/jknight/.venvs/sdapov/lib/python2.7/site-packages/ydk_.so, 2): Library not loaded: /usr/local/opt/libxml2/lib/libxml2.2.dylib
Referenced from: /Users/jknight/.venvs/sdapov/lib/python2.7/site-packages/ydk_.so
Reason: Incompatible library version: ydk_.so requires version 12.0.0 or later, but libxml2.2.dylib provides version 10.0.0
2. (http://ydk.cisco.com/py/docs/getting_started.html#quick-install) The instructions state "You get a fully operational YDK environment by installing the cisco-ios-xr". This isn't toally truthful because it does not install the cisco-ios-xe bundle. Not sure if the xr bundle is supposed to pull that in, or if the instructions need to be amended to state you need to install the xe bundle yourself.
.joel