07-09-2020 10:51 AM - edited 07-09-2020 10:52 AM
Hello,
I need your help to set the core_version into setup.py. My JSON profile looks like this:
{ "name": "wireless", "version": "17.4.0.202006300937", "core-version": "0.8.4", [...]
However the resulting setup.py inside the .tar.gz file shows:
INSTALL_REQUIREMENTS = ['ydk>=17.4.0.20200708122742'] NMSP_PKG_NAME = "ydk-models-wireless" NMSP_PKG_VERSION = "17.4.0.20200708122742" NMSP_PKG_DEPENDENCIES = []
For this reason pip install fails:
$ pip install /path/ydk-models-wireless-17.4.0.20200708122742.tar.gz Looking in indexes: http://xxxxxxxxx.cisco.com/simple Processing /path/ydk-models-wireless-17.4.0.20200708122742.tar.gz Collecting ydk>=17.4.0.20200708122742 (from ydk-models-wireless==17.4.0.20200708122742) Could not find a version that satisfies the requirement ydk>=17.4.0.20200708122742 (from ydk-models-wireless==17.4.0.20200708122742) (from versions: 0.5.4, 0.5.5, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4) No matching distribution found for ydk>=17.4.0.20200708122742 (from ydk-models-wireless==17.4.0.20200708122742)
Thanks,
Val
Solved! Go to Solution.
07-21-2020 02:15 AM
You need to change "core-version" to "core_version"!
07-21-2020 02:15 AM
You need to change "core-version" to "core_version"!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide