<?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 Install Error on CentOS 7 in Tools</title>
    <link>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461847#M2643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was able to install ydk but the XE models fail now.&amp;nbsp; What is interesting is that all the other models install just fine.&lt;/P&gt;&lt;P&gt;&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-cisco-ios-xe&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-cisco-ios-xe&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; Downloading &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://files.pythonhosted.org/packages/35/d0/63ac59cc2037b1a3fe0c83def2e6af5baac07cd58b8d04c16d60f2f03c66/ydk-models-cisco-ios-xe-16.8.1.tar.gz" rel="nofollow" target="_blank"&gt;https://files.pythonhosted.org/packages/35/d0/63ac59cc2037b1a3fe0c83def2e6af5baac07cd58b8d04c16d60f2f03c66/ydk-models-cisco-ios-xe-16.8.1.tar.gz&lt;/A&gt;&lt;SPAN&gt; (9.6MB)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100% |████████████████████████████████| 9.6MB 149kB/s&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 ... error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Complete output from command /usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-mFPL4B/ydk-models-cisco-ios-xe/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-R_XVLx-record/install-record.txt --single-version-externally-managed --compile --install-purelib=/usr/lib64/python2.7/site-packages:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; running install&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; running build&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; running build_py&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/__init__.py -&amp;gt; build/lib/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib/ydk/models&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/models/__init__.py -&amp;gt; build/lib/ydk/models&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib/ydk/models/cisco_ios_xe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/models/cisco_ios_xe/__init__.py -&amp;gt; build/lib/ydk/models/cisco_ios_xe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/models/cisco_ios_xe/_yang_ns.py -&amp;gt; build/lib/ydk/models/cisco_ios_xe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ...ETC..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte-compiling /usr/lib64/python2.7/site-packages/ydk/models/cisco_ios_xe/Cisco_IOS_XE_mpls.py to Cisco_IOS_XE_mpls.pyc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte-compiling /usr/lib64/python2.7/site-packages/ydk/models/cisco_ios_xe/Cisco_IOS_XE_mpls_fwd_oper.py to Cisco_IOS_XE_mpls_fwd_oper.pyc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte-compiling /usr/lib64/python2.7/site-packages/ydk/models/cisco_ios_xe/Cisco_IOS_XE_mpls_ldp.py to Cisco_IOS_XE_mpls_ldp.pyc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte-compiling /usr/lib64/python2.7/site-packages/ydk/models/cisco_ios_xe/Cisco_IOS_XE_nat_oper.py to Cisco_IOS_XE_nat_oper.pyc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte-compiling /usr/lib64/python2.7/site-packages/ydk/models/cisco_ios_xe/Cisco_IOS_XE_native.py to Cisco_IOS_XE_native.pyc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----------------------------------------&lt;/P&gt;&lt;P&gt;Command "/usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-mFPL4B/ydk-models-cisco-ios-xe/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-R_XVLx-record/install-record.txt --single-version-externally-managed --compile --install-purelib=/usr/lib64/python2.7/site-packages" failed with error code -9 in /tmp/pip-build-mFPL4B/ydk-models-cisco-ios-xe/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2018 18:09:02 GMT</pubDate>
    <dc:creator>crench92</dc:creator>
    <dc:date>2018-04-16T18:09:02Z</dc:date>
    <item>
      <title>YDK Install Error on CentOS 7</title>
      <link>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461843#M2639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Running setup.py install for ydk ... error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2LoqwZ/ydk/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-0EWcNH-record/install-record.txt --single-version-externally-managed --compile:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; running install&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; running build&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; running build_py&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib.linux-x86_64-2.7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib.linux-x86_64-2.7/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/__init__.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/exthook.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib.linux-x86_64-2.7/ydk/entity_utils&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/entity_utils/__init__.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/entity_utils&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/entity_utils/entity_utils.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/entity_utils&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib.linux-x86_64-2.7/ydk/errors&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/errors/__init__.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/errors&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/errors/error_handler.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/errors&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib.linux-x86_64-2.7/ydk/ext&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/ext/__init__.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/ext&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib.linux-x86_64-2.7/ydk/filters&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/filters/__init__.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/filters&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib.linux-x86_64-2.7/ydk/logging&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/logging/__init__.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/logging&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib.linux-x86_64-2.7/ydk/models&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/models/__init__.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/models&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib.linux-x86_64-2.7/ydk/path&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/path/__init__.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/path&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib.linux-x86_64-2.7/ydk/providers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/providers/__init__.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/providers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/providers/codec_provider.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/providers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib.linux-x86_64-2.7/ydk/services&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/services/__init__.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/services&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/services/codec_service.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/services&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/services/crud_service.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/services&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/services/executor_service.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/services&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/services/netconf_service.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/services&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib.linux-x86_64-2.7/ydk/types&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/types/__init__.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/types&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/types/py_types.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/types&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib.linux-x86_64-2.7/ydk/path/sessions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/path/sessions/__init__.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/path/sessions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/path/sessions/netconf_session.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/path/sessions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/path/sessions/restconf_session.py -&amp;gt; build/lib.linux-x86_64-2.7/ydk/path/sessions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; running build_ext&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- The C compiler identification is GNU 4.8.5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- The CXX compiler identification is GNU 4.8.5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Check for working C compiler: /bin/cc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Check for working C compiler: /bin/cc -- works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Detecting C compiler ABI info&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Detecting C compiler ABI info - done&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Detecting C compile features&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Detecting C compile features - done&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Check for working CXX compiler: /bin/c++&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Check for working CXX compiler: /bin/c++ -- works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Detecting CXX compiler ABI info&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Detecting CXX compiler ABI info - done&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Detecting CXX compile features&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Detecting CXX compile features - done&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; python version: 2.7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Could NOT find PythonLibs (missing:&amp;nbsp; PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pybind11 include: /usr/include/python2.7;/root/.local/include/python2.7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CMake Error: The following variables are used in this project, but they are set to NOTFOUND.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please set them or make sure they are set and tested correctly in the CMake files:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PYTHON_LIBRARY (ADVANCED)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linked by target "ydk_" in directory /tmp/pip-build-2LoqwZ/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl_location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linked by target "ydk_" in directory /tmp/pip-build-2LoqwZ/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pcre_location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linked by target "ydk_" in directory /tmp/pip-build-2LoqwZ/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ssh_location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linked by target "ydk_" in directory /tmp/pip-build-2LoqwZ/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ssh_threads_location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linked by target "ydk_" in directory /tmp/pip-build-2LoqwZ/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xml2_location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linked by target "ydk_" in directory /tmp/pip-build-2LoqwZ/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xslt_location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linked by target "ydk_" in directory /tmp/pip-build-2LoqwZ/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ydk_location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linked by target "ydk_" in directory /tmp/pip-build-2LoqwZ/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Configuring incomplete, errors occurred!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; See also "/tmp/pip-build-2LoqwZ/ydk/build/temp.linux-x86_64-2.7/CMakeFiles/CMakeOutput.log".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/tmp/pip-build-2LoqwZ/ydk/setup.py", line 149, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zip_safe=False,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dist.run_commands()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.run_command(cmd)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmd_obj.run()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib/python2.7/site-packages/setuptools/command/install.py", line 53, in run&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return _install.run(self)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/command/install.py", line 563, in run&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.run_command('build')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.distribution.run_command(command)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmd_obj.run()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/command/build.py", line 127, in run&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.run_command(cmd_name)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.distribution.run_command(command)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmd_obj.run()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/tmp/pip-build-2LoqwZ/ydk/setup.py", line 72, in run&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.build_extension(ext)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/tmp/pip-build-2LoqwZ/ydk/setup.py", line 104, in build_extension&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subprocess.check_call([cmake_executable, ext.sourcedir] + cmake_args, cwd=self.build_temp)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise CalledProcessError(retcode, cmd)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; subprocess.CalledProcessError: Command '['cmake3', '/tmp/pip-build-2LoqwZ/ydk', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-build-2LoqwZ/ydk/build/lib.linux-x86_64-2.7', '-DPYBIND11_INCLUDE=/usr/include/python2.7;/root/.local/include/python2.7', '-DPYTHON_VERSION=2.7', '-DCMAKE_BUILD_TYPE=Release', '-DCOVERAGE=False']' returned non-zero exit status 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----------------------------------------&lt;/P&gt;&lt;P&gt;Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-2LoqwZ/ydk/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-0EWcNH-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-2LoqwZ/ydk/&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@localhost ~]# cat /etc/centos-release&lt;/P&gt;&lt;P&gt;CentOS Linux release 7.4.1708 (Core) &lt;/P&gt;&lt;P&gt;[root@localhost ~]# which cmake&lt;/P&gt;&lt;P&gt;/bin/cmake&lt;/P&gt;&lt;P&gt;[root@localhost ~]# which cmake3&lt;/P&gt;&lt;P&gt;/bin/cmake3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brandon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 19:52:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461843#M2639</guid>
      <dc:creator>crench92</dc:creator>
      <dc:date>2018-04-12T19:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: YDK Install Error on CentOS 7</title>
      <link>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461844#M2640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have these and other dependencies specified in the &lt;A href="https://github.com/CiscoDevNet/ydk-py#linux"&gt;README&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;sudo yum install libssh-devel gcc-c++ python-devel&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 21:51:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461844#M2640</guid>
      <dc:creator>abhirame</dc:creator>
      <dc:date>2018-04-12T21:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: YDK Install Error on CentOS 7</title>
      <link>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461845#M2641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Python Lib was found after installing these but CMake still errors out due to unset variables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;python version: 2.7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Found PythonLibs: /usr/lib64/libpython2.7.so (found version "2.7.5")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pybind11 include: /usr/include/python2.7;/root/.local/include/python2.7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CMake Error: The following variables are used in this project, but they are set to NOTFOUND.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please set them or make sure they are set and tested correctly in the CMake files:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; curl_location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linked by target "ydk_" in directory /tmp/pip-build-Utn4yz/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pcre_location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linked by target "ydk_" in directory /tmp/pip-build-Utn4yz/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xml2_location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linked by target "ydk_" in directory /tmp/pip-build-Utn4yz/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xslt_location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linked by target "ydk_" in directory /tmp/pip-build-Utn4yz/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ydk_location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linked by target "ydk_" in directory /tmp/pip-build-Utn4yz/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Configuring incomplete, errors occurred!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; See also "/tmp/pip-build-Utn4yz/ydk/build/temp.linux-x86_64-2.7/CMakeFiles/CMakeOutput.log".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/tmp/pip-build-Utn4yz/ydk/setup.py", line 149, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zip_safe=False,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dist.run_commands()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.run_command(cmd)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmd_obj.run()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib/python2.7/site-packages/setuptools/command/install.py", line 53, in run&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return _install.run(self)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/command/install.py", line 563, in run&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.run_command('build')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.distribution.run_command(command)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmd_obj.run()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/command/build.py", line 127, in run&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.run_command(cmd_name)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.distribution.run_command(command)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cmd_obj.run()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/tmp/pip-build-Utn4yz/ydk/setup.py", line 72, in run&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.build_extension(ext)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/tmp/pip-build-Utn4yz/ydk/setup.py", line 104, in build_extension&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subprocess.check_call([cmake_executable, ext.sourcedir] + cmake_args, cwd=self.build_temp)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise CalledProcessError(retcode, cmd)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; subprocess.CalledProcessError: Command '['cmake3', '/tmp/pip-build-Utn4yz/ydk', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-build-Utn4yz/ydk/build/lib.linux-x86_64-2.7', '-DPYBIND11_INCLUDE=/usr/include/python2.7;/root/.local/include/python2.7', '-DPYTHON_VERSION=2.7', '-DCMAKE_BUILD_TYPE=Release', '-DCOVERAGE=False']' returned non-zero exit status 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----------------------------------------&lt;/P&gt;&lt;P&gt;Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-Utn4yz/ydk/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-rnLlFm-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-Utn4yz/ydk/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2018 13:33:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461845#M2641</guid>
      <dc:creator>crench92</dc:creator>
      <dc:date>2018-04-15T13:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: YDK Install Error on CentOS 7</title>
      <link>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461846#M2642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please install the rest of the dependencies and try again?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    https://github.com/CiscoDevNet/ydk-py/blob/master/README.rst#linux&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Cisco Communities &amp;lt;https://communities.cisco.com/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YDK Install Error on CentOS 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Brandon Crenshaw&amp;lt;https://communities.cisco.com/people/crench%4092&amp;gt; in DevNet &amp;gt; YANG Development Kit (YDK) - View the full discussion&amp;lt;https://communities.cisco.com/message/287740#287740&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 00:01:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461846#M2642</guid>
      <dc:creator>abhirame</dc:creator>
      <dc:date>2018-04-16T00:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: YDK Install Error on CentOS 7</title>
      <link>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461847#M2643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Was able to install ydk but the XE models fail now.&amp;nbsp; What is interesting is that all the other models install just fine.&lt;/P&gt;&lt;P&gt;&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-cisco-ios-xe&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-cisco-ios-xe&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; Downloading &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://files.pythonhosted.org/packages/35/d0/63ac59cc2037b1a3fe0c83def2e6af5baac07cd58b8d04c16d60f2f03c66/ydk-models-cisco-ios-xe-16.8.1.tar.gz" rel="nofollow" target="_blank"&gt;https://files.pythonhosted.org/packages/35/d0/63ac59cc2037b1a3fe0c83def2e6af5baac07cd58b8d04c16d60f2f03c66/ydk-models-cisco-ios-xe-16.8.1.tar.gz&lt;/A&gt;&lt;SPAN&gt; (9.6MB)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100% |████████████████████████████████| 9.6MB 149kB/s&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 ... error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Complete output from command /usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-mFPL4B/ydk-models-cisco-ios-xe/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-R_XVLx-record/install-record.txt --single-version-externally-managed --compile --install-purelib=/usr/lib64/python2.7/site-packages:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; running install&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; running build&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; running build_py&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/__init__.py -&amp;gt; build/lib/ydk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib/ydk/models&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/models/__init__.py -&amp;gt; build/lib/ydk/models&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; creating build/lib/ydk/models/cisco_ios_xe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/models/cisco_ios_xe/__init__.py -&amp;gt; build/lib/ydk/models/cisco_ios_xe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; copying ydk/models/cisco_ios_xe/_yang_ns.py -&amp;gt; build/lib/ydk/models/cisco_ios_xe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ...ETC..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte-compiling /usr/lib64/python2.7/site-packages/ydk/models/cisco_ios_xe/Cisco_IOS_XE_mpls.py to Cisco_IOS_XE_mpls.pyc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte-compiling /usr/lib64/python2.7/site-packages/ydk/models/cisco_ios_xe/Cisco_IOS_XE_mpls_fwd_oper.py to Cisco_IOS_XE_mpls_fwd_oper.pyc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte-compiling /usr/lib64/python2.7/site-packages/ydk/models/cisco_ios_xe/Cisco_IOS_XE_mpls_ldp.py to Cisco_IOS_XE_mpls_ldp.pyc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte-compiling /usr/lib64/python2.7/site-packages/ydk/models/cisco_ios_xe/Cisco_IOS_XE_nat_oper.py to Cisco_IOS_XE_nat_oper.pyc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; byte-compiling /usr/lib64/python2.7/site-packages/ydk/models/cisco_ios_xe/Cisco_IOS_XE_native.py to Cisco_IOS_XE_native.pyc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----------------------------------------&lt;/P&gt;&lt;P&gt;Command "/usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-mFPL4B/ydk-models-cisco-ios-xe/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-R_XVLx-record/install-record.txt --single-version-externally-managed --compile --install-purelib=/usr/lib64/python2.7/site-packages" failed with error code -9 in /tmp/pip-build-mFPL4B/ydk-models-cisco-ios-xe/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 18:09:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461847#M2643</guid>
      <dc:creator>crench92</dc:creator>
      <dc:date>2018-04-16T18:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: YDK Install Error on CentOS 7</title>
      <link>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461848#M2644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since only the XE models are giving me issues, I tried generating 16.6.2 models considering im only going to be interacting with devices with 16.6.2 XE but I get a memory error when trying to generate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processing 337 of 339 /root/ydk-gen/gen-api/.cache/models/cisco_ios_xe@16.6.2/tailf-rest-error.yang&lt;/P&gt;&lt;P&gt;Processing 338 of 339 /root/ydk-gen/gen-api/.cache/models/cisco_ios_xe@16.6.2/tailf-rest-query.yang&lt;/P&gt;&lt;P&gt;Processing 339 of 339 /root/ydk-gen/gen-api/.cache/models/cisco_ios_xe@16.6.2/tailf-xsd-types.yang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time taken for code/doc generation: 2 minutes 38 seconds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating python package...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "./generate.py", line 447, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; create_pip_packages(output_directory)&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "./generate.py", line 193, in create_pip_packages&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit_code = subprocess.call(args, env=os.environ.copy())&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "/usr/lib64/python2.7/subprocess.py", line 524, in call&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return Popen(*popenargs, **kwargs).wait()&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; errread, errwrite)&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "/usr/lib64/python2.7/subprocess.py", line 1224, in _execute_child&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.pid = os.fork()&lt;/P&gt;&lt;P&gt;OSError: [Errno 12] Cannot allocate memory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When trying to install what i generated, i get this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[root@localhost cisco_ios_xe-bundle]# pip install &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:cisco_ios_xe@16.6.2.tar.gz"&gt;cisco_ios_xe@16.6.2.tar.gz&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Processing .&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:/cisco_ios_xe@16.6.2.tar.gz"&gt;/cisco_ios_xe@16.6.2.tar.gz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Complete output from command python setup.py egg_info:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IOError: [Errno 2] No such file or directory: '/tmp/pip-ndux57-build/setup.py'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----------------------------------------&lt;/P&gt;&lt;P&gt;Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-ndux57-build/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 20:39:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461848#M2644</guid>
      <dc:creator>crench92</dc:creator>
      <dc:date>2018-04-16T20:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: YDK Install Error on CentOS 7</title>
      <link>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461849#M2645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like there are some memory restrictions on the system you are using to install. Can you try the below option, which should skip the compile step?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;pip install --install-option="--install-purelib=/usr/lib64/python2.7/site-packages" --no-deps --no-compile ydk-models-cisco-ios-xe &lt;/PRE&gt;&lt;P&gt;For the generation, do you have access to a system that has more RAM? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 15:41:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461849#M2645</guid>
      <dc:creator>abhirame</dc:creator>
      <dc:date>2018-04-17T15:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: YDK Install Error on CentOS 7</title>
      <link>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461850#M2646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So i actually skipped the generating part as well.&amp;nbsp; What I ended up doing was installing ydk, models-ietf, and XE as they currently are.&amp;nbsp; The only error i get is from my post at 11:09 on 04/16.&amp;nbsp; After uninstalling and installing a couple of times, I finally got XE-16.8.1 to install but noticed that my VM was very slow, even after doubling the RAM.&amp;nbsp; My guess is the CPU was maxed.&amp;nbsp; Are there a significant amount more resources required when working with the XE models in 16.8.1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 15:51:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461850#M2646</guid>
      <dc:creator>crench92</dc:creator>
      <dc:date>2018-04-17T15:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: YDK Install Error on CentOS 7</title>
      <link>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461851#M2647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. The python model API for the &lt;A href="http://ydk.cisco.com/py/docs/gen_doc_0fe171c66ddd61f15cb095cc5be949d69c0fa46e.html"&gt;XE Native model&lt;/A&gt; is quite large because of the size of the yang model. There are ways to work around this. You can try the --one-class-per-module option (see &lt;A href="https://github.com/CiscoDevNet/ydk-gen#usage"&gt;README&lt;/A&gt;) which generates smaller python modules which are faster to load. The only difference is the import statement will change per the below example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;git clone https://github.com/CiscoDevNet/ydk-gen.git
cd ydk-gen
git checkout -b 0.7.1
pip install -r requirements
 
$ ./generate.py -h
usage: generate.py [-h] [--bundle BUNDLE]
&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; [--adhoc-bundle-name ADHOC_BUNDLE_NAME]
&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; [--adhoc-bundle ADHOC_BUNDLE [ADHOC_BUNDLE ...]] [--core]
&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; [--output-directory OUTPUT_DIRECTORY] [-p] [-c] [-g] [-l]
&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; [-v] [--generate-doc] [--generate-tests] [-o]
 
Generate YDK artefacts:
 
optional arguments:
...
-o, --one-class-per-module
&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; Generate separate modules for each python class
&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; corresponding to yang containers or lists.
 
./generate.py --bundle profiles/bundles/openconfig_0_1_5.json --python --one-class-per-module
&lt;/PRE&gt;&lt;P&gt;Import:&lt;/P&gt;&lt;PRE&gt;from ydk.models.openconfig.openconfig_bgp import Bgp
 &lt;/PRE&gt;&lt;P&gt;changes to:&lt;/P&gt;&lt;PRE&gt;from ydk.models.openconfig.openconfig_bgp.bgp.bgp import Bgp
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 15:59:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461851#M2647</guid>
      <dc:creator>abhirame</dc:creator>
      <dc:date>2018-04-17T15:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: YDK Install Error on CentOS 7</title>
      <link>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461852#M2648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do i need to do this if it successfully installed?&amp;nbsp; As in, does doing this only help during install or will it help when using the modules too?&amp;nbsp; I did get it to install eventually without this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 16:12:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461852#M2648</guid>
      <dc:creator>crench92</dc:creator>
      <dc:date>2018-04-17T16:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: YDK Install Error on CentOS 7</title>
      <link>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461853#M2649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will reduce the run time memory consumption.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reference, I have attached the package generated with the below command:&lt;/P&gt;&lt;PRE&gt;./generate.py --bundle profiles/bundles/cisco-ios-xe_16_6_2.json --python -o&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To install, please download and run:&lt;/P&gt;&lt;PRE&gt;pip uninstall ydk-models-cisco-ios-xe -y

pip install --install-option="--install-purelib=/usr/lib64/python2.7/site-packages" --no-deps --no-compile ydk-models-cisco-ios-xe*.tar.gz &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 16:16:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461853#M2649</guid>
      <dc:creator>abhirame</dc:creator>
      <dc:date>2018-04-17T16:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: YDK Install Error on CentOS 7</title>
      <link>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461854#M2650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Appreciate the help on this one.&amp;nbsp; Thanks a bunch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 18:56:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/ydk-install-error-on-centos-7/m-p/3461854#M2650</guid>
      <dc:creator>crench92</dc:creator>
      <dc:date>2018-04-17T18:56:20Z</dc:date>
    </item>
  </channel>
</rss>

