cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1521
Views
0
Helpful
3
Replies

Attempting to setup requirements for ydk

jiaqin
Level 1
Level 1

Currently using most up-to-date Cygwin version (2.10.0), and trying to install ydk via pip (also most up-to-date version, 10.0.1). When I try to install the requirements, most of them work properly, but I can't seem to install https://devhub.cisco.com/artifactory/rpm-ydk/0.7.1/libydk-0.7.1-1.x86_64.rpm

Specifically, the error reads:

Cannot unpack file C:\cygwin64\tmp\pip-unpack-xrwec6_x\libydk-0.7.1-1.x86_64.rpm (downloaded from C:\cygwin64\tmp\pip-req-build-vmbgu_7s, content-type: application/x-rpm); cannot detect archive format

Cannot determine archive format of C:\cygwin64\tmp\pip-req-build-vmbgu_7s

I had all rpm-related packages installed onto Cygwin at the time, so I tried using rpm -i instead, but that failed with this error:

error: skipping https://devhub.cisco.com/artifactory/rpm-ydk/0.7.1/libydk-0.7.1-1.x86_64.rpm - transfer failed

I'm assuming that this is the reason my pip install ydk is failing; this is actually similar to another existing discussion (Re: YDK Install Error on CentOS 7), which I followed through in order to address the " Could NOT find PythonLibs (missing:  PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)" problem. Similar to the other discussion, I was then left with the CMake issues involving NOTFOUND variables, but unlike the other discussion, I ran into the aforementioned issue of installing the rpm. Any advice>

1 Accepted Solution

Accepted Solutions

YDK is not known to work on cygwin or other windows environment. See the README:

https://github.com/CiscoDevNet/ydk-py#windows

We are planning to add windows support in the future

View solution in original post

3 Replies 3

jiaqin
Level 1
Level 1

Also, my GCC version is definitely at least 5 (specifically 7.3.0)

YDK is not known to work on cygwin or other windows environment. See the README:

https://github.com/CiscoDevNet/ydk-py#windows

We are planning to add windows support in the future

saalvare
Cisco Employee
Cisco Employee

If you want to run YDK 0.6.0 or later on Windows, you need to use the Vagrant box or the docker containers.

Is there a YDK Sandbox?

YDK now available on DockerHub!

Thanks.