08-28-2020 01:55 AM
Hi Team,
I use "ydk-models-cisco-ios-xe-16.9.3.post1.tar.gz"
But I was coding in VS code.
from ydk.models.cisco_ios_xe import Cisco_IOS_XE_native
(but haven't found Cisco_IOS_XE_native, please see the attached photos)
Only found Cisco_IOS_XE_nat_oper & Cisco_IOS_XE_ntp_oper
Please see the attached photos
Much appreciate your help and advice
Solved! Go to Solution.
08-28-2020 09:15 AM
Hi Jacky
Please check package installation. For example, in my python3 virtual environment:
$ ls ../venv/lib/python3.7/site-packages/ydk/models/cisco_ios_xe/Cisco_IOS_XE_native.py
If this file is not found, then something wrong with package installation.
If found, then you need reindex your IDE.
08-28-2020 09:15 AM
Hi Jacky
Please check package installation. For example, in my python3 virtual environment:
$ ls ../venv/lib/python3.7/site-packages/ydk/models/cisco_ios_xe/Cisco_IOS_XE_native.py
If this file is not found, then something wrong with package installation.
If found, then you need reindex your IDE.
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