I have created a virtual environment and tried to install YDK 0.8.3, error observed in building wheel for ydk,
Attached text with detailed error report and current pip list.
Could you please guide on installing YDK and its dependent libs.
Added system/pkg info for reference,
root@theneer mgbl]# lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.4.1708 (Core)
(gnmiydk) [root@theneer mgbl]# yum info cmake
Name : cmake
Arch : x86_64
Version : 184.108.40.206
Release : 2.el7
Required package list:
Thanks in advance.
You missed the whole System Requirements section. Please get to that item in the documentation and resolve all the dependencies.
First, you need to install libssh version 0.7.x. If installed, check that libssh_threads.a is also present. If present, check that LD_LIBRARY_PATH environment is set properly and includes corresponding library location. if libssh is not installed, follow this
Second, install libydk - C++ core library:
sudo yum install https://devhub.cisco.com/artifactory/rpm-ydk/0.8.3/libydk-0.8.3-1.x86_64.rpm
And finally install Python core package:
pip install -Uv ydk
python -c "import ydk.types"
Hi Yan Gorelik,
Thanks for the information shared.
YDK Installation still erroring out despite following all steps mentioned in System Requirements section. Added version detail in the attachment for reference(system_requirement.txt).
VENV tried with python 3.5.0.
Could you please help me to resolve the issue.
Could you please attach installation log file, which shows the error.
Also need to see setting for the LD_LIBRARY_PATH variable. It must include paths where the libssh.a and libydk.a are installed.