<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: YDK installation help in Tools</title>
    <link>https://community.cisco.com/t5/tools/ydk-installation-help/m-p/3480698#M2529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI.. I have attached the verbose logs when installing ydk &amp;amp; ydk-models-ietf &lt;A href="https://github.com/CiscoDevNet/ydk-py/files/1529196"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2017 00:09:36 GMT</pubDate>
    <dc:creator>abhirame</dc:creator>
    <dc:date>2017-12-05T00:09:36Z</dc:date>
    <item>
      <title>YDK installation help</title>
      <link>https://community.cisco.com/t5/tools/ydk-installation-help/m-p/3480694#M2525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to YDK and attempting to install the kit on a CentOS 7 system using the getting started guide at the link below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://ydk.cisco.com/py/docs/getting_started.html"&gt;http://ydk.cisco.com/py/docs/getting_started.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Quick Start installation is successful but running sample code generates an error - ImportError: No module named 'ydk.types'.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Troubleshooting help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;[root@mars ehouby]# pip install ydk-models-cisco-ios-xe ydk-models-cisco-ios-xr&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;Collecting ydk-models-cisco-ios-xe&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;&amp;nbsp; Using cached ydk_models_cisco_ios_xe-16.6.1.post1-py2.py3-none-any.whl&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;Collecting ydk-models-cisco-ios-xr&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;&amp;nbsp; Using cached ydk_models_cisco_ios_xr-6.3.1-py2.py3-none-any.whl&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;Collecting ydk&amp;gt;=0.6.1 (from ydk-models-cisco-ios-xe)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;&amp;nbsp; Using cached ydk-0.6.2.tar.gz&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;Collecting ydk-models-ietf&amp;gt;=0.1.3 (from ydk-models-cisco-ios-xe)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;&amp;nbsp; Using cached ydk_models_ietf-0.1.4-py2.py3-none-any.whl&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;Collecting ydk-models-openconfig&amp;gt;=0.1.3 (from ydk-models-cisco-ios-xe)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;&amp;nbsp; Using cached ydk_models_openconfig-0.1.4-py2.py3-none-any.whl&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;Requirement already satisfied: pybind11&amp;gt;=2.1.1 in /usr/lib/python3.4/site-packages (from ydk&amp;gt;=0.6.1-&amp;gt;ydk-models-cisco-ios-xe)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;Installing collected packages: ydk, ydk-models-ietf, ydk-models-openconfig, ydk-models-cisco-ios-xe, ydk-models-cisco-ios-xr&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;&amp;nbsp; Running setup.py install for ydk ... done&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;Successfully installed ydk-0.6.2 ydk-models-cisco-ios-xe-16.6.1.post1 ydk-models-cisco-ios-xr-6.3.1 ydk-models-ietf-0.1.4 ydk-models-openconfig-0.1.4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;[root@mars ehouby]# pip list&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;asn1crypto (0.22.0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;bcrypt (3.1.3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;certifi (2017.11.5)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;cffi (1.10.0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;chardet (3.0.4)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;cryptography (2.0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;idna (2.6)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;lxml (3.8.0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;ncclient (0.5.3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;paramiko (2.2.1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;pip (9.0.1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;pyang (1.6)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;pyasn1 (0.3.3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;pybind11 (2.2.1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;pycparser (2.18)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;PyNaCl (1.1.2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;requests (2.18.4)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;setuptools (19.2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;six (1.10.0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;urllib3 (1.22)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;ydk (0.6.2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;ydk-models-cisco-ios-xe (16.6.1.post1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;ydk-models-cisco-ios-xr (6.3.1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;ydk-models-ietf (0.1.4)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;ydk-models-openconfig (0.1.4)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;[ehouby@mars ehouby]# cd DevNet-Code-Samples/ydk-py/core/samples/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;[ehouby@mars samples]$ python bgp.py&amp;nbsp; -h&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;&amp;nbsp; File "bgp.py", line 29, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from ydk.types import Empty&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;ImportError: No module named 'ydk.types'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;[ehouby@mars samples]$&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 16:43:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-installation-help/m-p/3480694#M2525</guid>
      <dc:creator>ehouby</dc:creator>
      <dc:date>2017-12-04T16:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: YDK installation help</title>
      <link>https://community.cisco.com/t5/tools/ydk-installation-help/m-p/3480695#M2526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry you are facing this. This is likely because of this known issue (https://github.com/CiscoDevNet/ydk-gen/issues/524). Can you please try the below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;first uninstall all ydk packages&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;sudo pip uninstall ydk -y&lt;/P&gt;&lt;P&gt;sudo pip uninstall ydk-models-ietf -y&lt;/P&gt;&lt;P&gt;sudo pip uninstall ydk-models-openconfig -y&lt;/P&gt;&lt;P&gt;sudo pip uninstall ydk-models-cisco-ios-xr -y&lt;/P&gt;&lt;P&gt;sudo pip uninstall ydk-models-cisco-ios-xe -y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;install ydk core&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;sudo pip install ydk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI level="1" type="ol"&gt;&lt;P&gt;install model APIs&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;sudo pip install &lt;DEL&gt;install-option="&lt;/DEL&gt;install-purelib=/usr/lib64/python2.7/site-packages" --no-deps ydk-models-ietf&lt;/P&gt;&lt;P&gt;sudo pip install &lt;DEL&gt;install-option="&lt;/DEL&gt;install-purelib=/usr/lib64/python2.7/site-packages" --no-deps ydk-models-openconfig&lt;/P&gt;&lt;P&gt;sudo pip install &lt;DEL&gt;install-option="&lt;/DEL&gt;install-purelib=/usr/lib64/python2.7/site-packages" --no-deps ydk-models-cisco-ios-xr&lt;/P&gt;&lt;P&gt;sudo pip install &lt;DEL&gt;install-option="&lt;/DEL&gt;install-purelib=/usr/lib64/python2.7/site-packages" --no-deps ydk-models-cisco-ios-xe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 18:01:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-installation-help/m-p/3480695#M2526</guid>
      <dc:creator>abhirame</dc:creator>
      <dc:date>2017-12-04T18:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: YDK installation help</title>
      <link>https://community.cisco.com/t5/tools/ydk-installation-help/m-p/3480696#M2527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I uninstalled ydk and reinstalled per your process above but i am still seeing an error.&amp;nbsp; Installation of the models says it was successful but they do not show up in pip list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ehouby@mars samples]$ sudo pip list&lt;/P&gt;&lt;P&gt;DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.&lt;/P&gt;&lt;P&gt;asn1crypto (0.22.0)&lt;/P&gt;&lt;P&gt;bcrypt (3.1.3)&lt;/P&gt;&lt;P&gt;certifi (2017.11.5)&lt;/P&gt;&lt;P&gt;cffi (1.10.0)&lt;/P&gt;&lt;P&gt;chardet (3.0.4)&lt;/P&gt;&lt;P&gt;cryptography (2.0)&lt;/P&gt;&lt;P&gt;idna (2.6)&lt;/P&gt;&lt;P&gt;lxml (3.8.0)&lt;/P&gt;&lt;P&gt;ncclient (0.5.3)&lt;/P&gt;&lt;P&gt;paramiko (2.2.1)&lt;/P&gt;&lt;P&gt;pip (9.0.1)&lt;/P&gt;&lt;P&gt;pyang (1.6)&lt;/P&gt;&lt;P&gt;pyasn1 (0.3.3)&lt;/P&gt;&lt;P&gt;pybind11 (2.2.1)&lt;/P&gt;&lt;P&gt;pycparser (2.18)&lt;/P&gt;&lt;P&gt;PyNaCl (1.1.2)&lt;/P&gt;&lt;P&gt;requests (2.18.4)&lt;/P&gt;&lt;P&gt;setuptools (19.2)&lt;/P&gt;&lt;P&gt;six (1.10.0)&lt;/P&gt;&lt;P&gt;urllib3 (1.22)&lt;/P&gt;&lt;P&gt;[ehouby@mars samples]$ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ehouby@mars samples]$ sudo pip install ydk&lt;/P&gt;&lt;P&gt;Collecting ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp; Using cached ydk-0.6.2.tar.gz&lt;/P&gt;&lt;P&gt;Requirement already satisfied: pybind11&amp;gt;=2.1.1 in /usr/lib/python3.4/site-packages (from ydk)&lt;/P&gt;&lt;P&gt;Installing collected packages: ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp; Running setup.py install for ydk ... done&lt;/P&gt;&lt;P&gt;Successfully installed ydk-0.6.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ehouby@mars samples]$ sudo pip install --install-option="--install-purelib=/usr/lib64/python2.7/site-packages" --no-deps ydk-models-ietf&lt;/P&gt;&lt;P&gt;/usr/lib/python3.4/site-packages/pip/commands/install.py:194: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.&lt;/P&gt;&lt;P&gt;&amp;nbsp; cmdoptions.check_install_build_global(options)&lt;/P&gt;&lt;P&gt;Collecting ydk-models-ietf&lt;/P&gt;&lt;P&gt;&amp;nbsp; Using cached ydk-models-ietf-0.1.4.tar.gz&lt;/P&gt;&lt;P&gt;Installing collected packages: ydk-models-ietf&lt;/P&gt;&lt;P&gt;&amp;nbsp; Running setup.py install for ydk-models-ietf ... done&lt;/P&gt;&lt;P&gt;Successfully installed ydk-models-ietf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ehouby@mars samples]$ sudo pip install --install-option="--install-purelib=/usr/lib64/python2.7/site-packages" --no-deps ydk-models-openconfig&lt;/P&gt;&lt;P&gt;/usr/lib/python3.4/site-packages/pip/commands/install.py:194: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.&lt;/P&gt;&lt;P&gt;&amp;nbsp; cmdoptions.check_install_build_global(options)&lt;/P&gt;&lt;P&gt;Collecting ydk-models-openconfig&lt;/P&gt;&lt;P&gt;&amp;nbsp; Using cached ydk-models-openconfig-0.1.4.tar.gz&lt;/P&gt;&lt;P&gt;Installing collected packages: ydk-models-openconfig&lt;/P&gt;&lt;P&gt;&amp;nbsp; Running setup.py install for ydk-models-openconfig ... done&lt;/P&gt;&lt;P&gt;Successfully installed ydk-models-openconfig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ehouby@mars samples]$ sudo pip install --install-option="--install-purelib=/usr/lib64/python2.7/site-packages" --no-deps ydk-models-cisco-ios-xr&lt;/P&gt;&lt;P&gt;/usr/lib/python3.4/site-packages/pip/commands/install.py:194: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.&lt;/P&gt;&lt;P&gt;&amp;nbsp; cmdoptions.check_install_build_global(options)&lt;/P&gt;&lt;P&gt;Collecting ydk-models-cisco-ios-xr&lt;/P&gt;&lt;P&gt;&amp;nbsp; Using cached ydk-models-cisco-ios-xr-6.3.1.tar.gz&lt;/P&gt;&lt;P&gt;Installing collected packages: ydk-models-cisco-ios-xr&lt;/P&gt;&lt;P&gt;&amp;nbsp; Running setup.py install for ydk-models-cisco-ios-xr ... done&lt;/P&gt;&lt;P&gt;Successfully installed ydk-models-cisco-ios-xr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ehouby@mars samples]$ sudo pip install --install-option="--install-purelib=/usr/lib64/python2.7/site-packages" --no-deps ydk-models-cisco-ios-xe&lt;/P&gt;&lt;P&gt;/usr/lib/python3.4/site-packages/pip/commands/install.py:194: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.&lt;/P&gt;&lt;P&gt;&amp;nbsp; cmdoptions.check_install_build_global(options)&lt;/P&gt;&lt;P&gt;Collecting ydk-models-cisco-ios-xe&lt;/P&gt;&lt;P&gt;&amp;nbsp; Using cached ydk-models-cisco-ios-xe-16.6.1.post1.tar.gz&lt;/P&gt;&lt;P&gt;Installing collected packages: ydk-models-cisco-ios-xe&lt;/P&gt;&lt;P&gt;&amp;nbsp; Running setup.py install for ydk-models-cisco-ios-xe ... done&lt;/P&gt;&lt;P&gt;Successfully installed ydk-models-cisco-ios-xe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ehouby@mars samples]$ pip list&lt;/P&gt;&lt;P&gt;DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.&lt;/P&gt;&lt;P&gt;asn1crypto (0.22.0)&lt;/P&gt;&lt;P&gt;bcrypt (3.1.3)&lt;/P&gt;&lt;P&gt;certifi (2017.11.5)&lt;/P&gt;&lt;P&gt;cffi (1.10.0)&lt;/P&gt;&lt;P&gt;chardet (3.0.4)&lt;/P&gt;&lt;P&gt;cryptography (2.0)&lt;/P&gt;&lt;P&gt;idna (2.6)&lt;/P&gt;&lt;P&gt;lxml (3.8.0)&lt;/P&gt;&lt;P&gt;ncclient (0.5.3)&lt;/P&gt;&lt;P&gt;paramiko (2.2.1)&lt;/P&gt;&lt;P&gt;pip (9.0.1)&lt;/P&gt;&lt;P&gt;pyang (1.6)&lt;/P&gt;&lt;P&gt;pyasn1 (0.3.3)&lt;/P&gt;&lt;P&gt;pybind11 (2.2.1)&lt;/P&gt;&lt;P&gt;pycparser (2.18)&lt;/P&gt;&lt;P&gt;PyNaCl (1.1.2)&lt;/P&gt;&lt;P&gt;requests (2.18.4)&lt;/P&gt;&lt;P&gt;setuptools (19.2)&lt;/P&gt;&lt;P&gt;six (1.10.0)&lt;/P&gt;&lt;P&gt;urllib3 (1.22)&lt;/P&gt;&lt;P&gt;ydk (0.6.2)&lt;/P&gt;&lt;P&gt;[ehouby@mars samples]$ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ehouby@mars samples]$ python bgp.py -h&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "bgp.py", line 29, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from ydk.types import Empty&lt;/P&gt;&lt;P&gt;ImportError: No module named types&lt;/P&gt;&lt;P&gt;[ehouby@mars samples]$ &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 19:36:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-installation-help/m-p/3480696#M2527</guid>
      <dc:creator>ehouby</dc:creator>
      <dc:date>2017-12-04T19:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: YDK installation help</title>
      <link>https://community.cisco.com/t5/tools/ydk-installation-help/m-p/3480697#M2528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. That is strange. I just tried the same sequence on my centos and it works for me. Please find below the log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_15124313064784258" jivemacro_uid="_15124313064784258"&gt;
&lt;P&gt;[root@localhost ~]# cat /etc/*-release&lt;/P&gt;
&lt;P&gt;CentOS Linux release 7.2.1511 (Core)&lt;/P&gt;
&lt;P&gt;NAME="CentOS Linux"&lt;/P&gt;
&lt;P&gt;VERSION="7 (Core)"&lt;/P&gt;
&lt;P&gt;ID="centos"&lt;/P&gt;
&lt;P&gt;ID_LIKE="rhel fedora"&lt;/P&gt;
&lt;P&gt;VERSION_ID="7"&lt;/P&gt;
&lt;P&gt;PRETTY_NAME="CentOS Linux 7 (Core)"&lt;/P&gt;
&lt;P&gt;ANSI_COLOR="0;31"&lt;/P&gt;
&lt;P&gt;CPE_NAME="cpe:/o:centos:centos:7"&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HOME_URL="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.centos.org/" rel="nofollow" target="_blank"&gt;https://www.centos.org/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BUG_REPORT_URL="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://bugs.centos.org/" rel="nofollow" target="_blank"&gt;https://bugs.centos.org/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;CENTOS_MANTISBT_PROJECT="CentOS-7"&lt;/P&gt;
&lt;P&gt;CENTOS_MANTISBT_PROJECT_VERSION="7"&lt;/P&gt;
&lt;P&gt;REDHAT_SUPPORT_PRODUCT="centos"&lt;/P&gt;
&lt;P&gt;REDHAT_SUPPORT_PRODUCT_VERSION="7"&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;CentOS Linux release 7.2.1511 (Core)&lt;/P&gt;
&lt;P&gt;CentOS Linux release 7.2.1511 (Core)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uninstall &amp;amp; install ydk:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_15124313064668329" jivemacro_uid="_15124313064668329" modifiedtitle="true"&gt;
&lt;P&gt;[root@localhost ~]# pip list|grep ydk&lt;/P&gt;
&lt;P&gt;[root@localhost ~]#&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;[root@localhost ~]# pip install ydk&lt;/P&gt;
&lt;P&gt;Collecting ydk&lt;/P&gt;
&lt;P&gt;Collecting pybind11&amp;gt;=2.1.1 (from ydk)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Using cached pybind11-2.2.1-py2.py3-none-any.whl&lt;/P&gt;
&lt;P&gt;Installing collected packages: pybind11, ydk&lt;/P&gt;
&lt;P&gt;Successfully installed pybind11-2.2.1 ydk-0.6.2&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;[root@localhost ~]# pip install --install-option="--install-purelib=/usr/lib64/python2.7/site-packages" --no-deps ydk-models-ietf&lt;/P&gt;
&lt;P&gt;/usr/lib/python2.7/site-packages/pip/commands/install.py:188: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; cmdoptions.check_install_build_global(options)&lt;/P&gt;
&lt;P&gt;Collecting ydk-models-ietf&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Using cached ydk-models-ietf-0.1.4.tar.gz&lt;/P&gt;
&lt;P&gt;Installing collected packages: ydk-models-ietf&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Running setup.py install for ydk-models-ietf ... done&lt;/P&gt;
&lt;P&gt;Successfully installed ydk-models-ietf-0.1.4&lt;/P&gt;
&lt;P&gt;You are using pip version 8.1.2, however version 9.0.1 is available.&lt;/P&gt;
&lt;P&gt;You should consider upgrading via the 'pip install --upgrade pip' command.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check installation:&lt;SPAN style="color: transparent; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 9pt; white-space: nowrap;"&gt;[root@localhost ~]# pip list|grep ydk&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_15124313064614451" jivemacro_uid="_15124313064614451"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;[root@localhost ~]# pip list|grep ydk&lt;/P&gt;
&lt;P&gt;ydk (0.6.2)&lt;/P&gt;
&lt;P&gt;ydk-models-ietf (0.1.4)&lt;/P&gt;
&lt;P&gt;You are using pip version 8.1.2, however version 9.0.1 is available.&lt;/P&gt;
&lt;P&gt;You should consider upgrading via the 'pip install --upgrade pip' command.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Import modules from python shell:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_15124313064529304 jive_macro_code" jivemacro_uid="_15124313064529304"&gt;
&lt;P&gt;[root@localhost ~]# python&lt;/P&gt;
&lt;P&gt;Python 2.7.5 (default, Aug&amp;nbsp; 4 2017, 00:39:18)&lt;/P&gt;
&lt;P&gt;[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux2&lt;/P&gt;
&lt;P&gt;Type "help", "copyright", "credits" or "license" for more information.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; from ydk import types&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; from ydk.models import ietf&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;


&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 23:47:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-installation-help/m-p/3480697#M2528</guid>
      <dc:creator>abhirame</dc:creator>
      <dc:date>2017-12-04T23:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: YDK installation help</title>
      <link>https://community.cisco.com/t5/tools/ydk-installation-help/m-p/3480698#M2529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI.. I have attached the verbose logs when installing ydk &amp;amp; ydk-models-ietf &lt;A href="https://github.com/CiscoDevNet/ydk-py/files/1529196"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 00:09:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-installation-help/m-p/3480698#M2529</guid>
      <dc:creator>abhirame</dc:creator>
      <dc:date>2017-12-05T00:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: YDK installation help</title>
      <link>https://community.cisco.com/t5/tools/ydk-installation-help/m-p/3480699#M2530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is working now after installing to /usr/lib64/python3.4/site-packages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Eric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root@mars samples]# pip install --install-option="--install-purelib=/usr/lib64/python3.4/site-packages" ydk-models-ietf&lt;/P&gt;&lt;P&gt;/usr/lib/python3.4/site-packages/pip/commands/install.py:194: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.&lt;/P&gt;&lt;P&gt;&amp;nbsp; cmdoptions.check_install_build_global(options)&lt;/P&gt;&lt;P&gt;Collecting ydk-models-ietf&lt;/P&gt;&lt;P&gt;&amp;nbsp; Using cached ydk-models-ietf-0.1.4.tar.gz&lt;/P&gt;&lt;P&gt;Requirement already satisfied: ydk&amp;gt;=0.6.1 in /usr/lib64/python3.4/site-packages (from ydk-models-ietf)&lt;/P&gt;&lt;P&gt;Requirement already satisfied: pybind11&amp;gt;=2.1.1 in /usr/lib/python3.4/site-packages (from ydk&amp;gt;=0.6.1-&amp;gt;ydk-models-ietf)&lt;/P&gt;&lt;P&gt;Installing collected packages: ydk-models-ietf&lt;/P&gt;&lt;P&gt;&amp;nbsp; Running setup.py install for ydk-models-ietf ... done&lt;/P&gt;&lt;P&gt;Successfully installed ydk-models-ietf-0.1.4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root@mars samples]# pip list | grep ydk&lt;/P&gt;&lt;P&gt;DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.&lt;/P&gt;&lt;P&gt;ydk (0.6.2)&lt;/P&gt;&lt;P&gt;ydk-models-ietf (0.1.4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[root@mars samples]# python3 ./bgp.py -h&lt;/P&gt;&lt;P&gt;Usage: bgp.py [-h | --help] [options] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Options:&lt;/P&gt;&lt;P&gt;&amp;nbsp; -h, --help&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; show this help message and exit&lt;/P&gt;&lt;P&gt;&amp;nbsp; -v VERSION, --version=VERSION&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; force NETCONF version 1.0 or 1.1&lt;/P&gt;&lt;P&gt;&amp;nbsp; -u USERNAME, --user=USERNAME&lt;/P&gt;&lt;P&gt;&amp;nbsp; -p PASSWORD, --password=PASSWORD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; password&lt;/P&gt;&lt;P&gt;&amp;nbsp; --proto=PROTO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Which transport protocol to use, one of ssh or tcp&lt;/P&gt;&lt;P&gt;&amp;nbsp; --host=HOST&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NETCONF agent hostname&lt;/P&gt;&lt;P&gt;&amp;nbsp; --port=PORT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NETCONF agent SSH port&lt;/P&gt;&lt;P&gt;[root@mars samples]#&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 00:20:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-installation-help/m-p/3480699#M2530</guid>
      <dc:creator>ehouby</dc:creator>
      <dc:date>2017-12-05T00:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: YDK installation help</title>
      <link>https://community.cisco.com/t5/tools/ydk-installation-help/m-p/3480700#M2531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it worked! I didn’t realized you were using python3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 00:38:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-installation-help/m-p/3480700#M2531</guid>
      <dc:creator>abhirame</dc:creator>
      <dc:date>2017-12-05T00:38:16Z</dc:date>
    </item>
  </channel>
</rss>

