Getting the below error when using the libydk RPM.
[2018-03-01 17:04:08.212] [ydk] [error] Could not create repository in: /ydk/sdk/cpp/core/tests/models
Work around
It works when compiling+installing source code as specified here.
# Remove existing libydk
rpm -e libydk
# Install libydk from source
git clone https://github.com/CiscoDevNet/ydk-gen.git
cd ydk-gen
./test/dependencies_centos_basic.sh # If using CentOS. Use one of the other scripts for other OS
pip install -r requirements.txt
./generate --core --cpp
[sudo] make -C gen-api/cpp/ydk/build install
# Reinstall ydk-py
pip uninstall ydk -y
pip install ydk
Getting the below error when using the
libydk
RPM.Work around
It works when compiling+installing source code as specified here.