<?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: Error while doing pip install for pip install gen-api/python/ydk/dist/ydk-0.8.5.tar.gz in Tools</title>
    <link>https://community.cisco.com/t5/tools/error-while-doing-pip-install-for-pip-install-gen-api-python-ydk/m-p/4261016#M1745</link>
    <description>&lt;P&gt;I believe you are missing installation of YDK core library. Please follow &lt;A href="https://github.com/ygorelik/ydk-gen#core-installation" target="_self"&gt;this&lt;/A&gt; installation procedure of YDK-0.8.5. I also suggest to clone YDK from my fork:&lt;/P&gt;&lt;P&gt;&amp;gt; git clone &lt;A href="https://github.com/ygorelik/ydk-gen.git" target="_blank"&gt;https://github.com/ygorelik/ydk-gen.git&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2020 21:20:06 GMT</pubDate>
    <dc:creator>yangorelik</dc:creator>
    <dc:date>2020-12-18T21:20:06Z</dc:date>
    <item>
      <title>Error while doing pip install for pip install gen-api/python/ydk/dist/ydk-0.8.5.tar.gz</title>
      <link>https://community.cisco.com/t5/tools/error-while-doing-pip-install-for-pip-install-gen-api-python-ydk/m-p/4260320#M1740</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;pip install for&amp;nbsp;ydk-0.8.5.tar.gz is getting failed for me&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am having python 3.6&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(ydk-venv) [root@avpathak1-lnx ydk-gen]# pip list&lt;BR /&gt;Package Version&lt;BR /&gt;---------------- -------&lt;BR /&gt;alabaster 0.7.12&lt;BR /&gt;Babel 2.9.0&lt;BR /&gt;docutils 0.16&lt;BR /&gt;gitdb2 2.0.6&lt;BR /&gt;GitPython 2.1.15&lt;BR /&gt;imagesize 1.2.0&lt;BR /&gt;Jinja2 2.11.2&lt;BR /&gt;MarkupSafe 1.1.1&lt;BR /&gt;pip 20.3.3&lt;BR /&gt;pyang 1.6&lt;BR /&gt;pybind11 2.6.1&lt;BR /&gt;Pygments 2.7.3&lt;BR /&gt;pytz 2020.4&lt;BR /&gt;rstr 2.2.6&lt;BR /&gt;setuptools 28.8.0&lt;BR /&gt;six 1.15.0&lt;BR /&gt;smmap 3.0.4&lt;BR /&gt;smmap2 3.0.1&lt;BR /&gt;snowballstemmer 2.0.0&lt;BR /&gt;Sphinx 1.4a1&lt;BR /&gt;sphinx-rtd-theme 0.1.9&lt;BR /&gt;wheel 0.34.2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(ydk-venv) [root@avpathak1-lnx ydk-gen]# pip install gen-api/python/ydk/dist/ydk-0.8.5.tar.gz&lt;BR /&gt;Processing ./gen-api/python/ydk/dist/ydk-0.8.5.tar.gz&lt;BR /&gt;Requirement already satisfied: pybind11&amp;gt;=2.1.1 in /home/avpathak/ydk/ydk-venv/lib/python3.6/site-packages (from ydk==0.8.5) (2.6.1)&lt;BR /&gt;Building wheels for collected packages: ydk&lt;BR /&gt;Building wheel for ydk (setup.py) ... error&lt;BR /&gt;ERROR: Command errored out with exit status 1:&lt;BR /&gt;command: /home/avpathak/ydk/ydk-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-9ixf7fud/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-9ixf7fud/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-_tl3gbsk&lt;BR /&gt;cwd: /tmp/pip-req-build-9ixf7fud/&lt;BR /&gt;Complete output (228 lines):&lt;BR /&gt;running bdist_wheel&lt;BR /&gt;running build&lt;BR /&gt;running build_py&lt;BR /&gt;creating build&lt;BR /&gt;creating build/lib.linux-x86_64-3.6&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk&lt;BR /&gt;copying ydk/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk&lt;BR /&gt;copying ydk/exthook.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;copying ydk/services/codec_service.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;copying ydk/services/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;copying ydk/services/executor_service.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;copying ydk/services/netconf_service.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;copying ydk/services/crud_service.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/filters&lt;BR /&gt;copying ydk/filters/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/filters&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/ext&lt;BR /&gt;copying ydk/ext/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/ext&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/types&lt;BR /&gt;copying ydk/types/py_types.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/types&lt;BR /&gt;copying ydk/types/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/types&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/models&lt;BR /&gt;copying ydk/models/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/models&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/entity_utils&lt;BR /&gt;copying ydk/entity_utils/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/entity_utils&lt;BR /&gt;copying ydk/entity_utils/entity_utils.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/entity_utils&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/providers&lt;BR /&gt;copying ydk/providers/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/providers&lt;BR /&gt;copying ydk/providers/codec_provider.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/providers&lt;BR /&gt;copying ydk/providers/netconf_provider.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/providers&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/_core&lt;BR /&gt;copying ydk/_core/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/_core&lt;BR /&gt;copying ydk/_core/_dm_meta_info.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/_core&lt;BR /&gt;copying ydk/_core/_importer.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/_core&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/logging&lt;BR /&gt;copying ydk/logging/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/logging&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/errors&lt;BR /&gt;copying ydk/errors/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/errors&lt;BR /&gt;copying ydk/errors/error_handler.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/errors&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/path&lt;BR /&gt;copying ydk/path/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/path&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/path/sessions&lt;BR /&gt;copying ydk/path/sessions/restconf_session.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/path/sessions&lt;BR /&gt;copying ydk/path/sessions/netconf_session.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/path/sessions&lt;BR /&gt;copying ydk/path/sessions/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/path/sessions&lt;BR /&gt;running build_ext&lt;BR /&gt;-- The C compiler identification is GNU 4.8.5&lt;BR /&gt;-- The CXX compiler identification is GNU 4.8.5&lt;BR /&gt;-- Check for working C compiler: /usr/bin/cc&lt;BR /&gt;-- Check for working C compiler: /usr/bin/cc - works&lt;BR /&gt;-- Detecting C compiler ABI info&lt;BR /&gt;-- Detecting C compiler ABI info - done&lt;BR /&gt;-- Detecting C compile features&lt;BR /&gt;-- Detecting C compile features - done&lt;BR /&gt;-- Check for working CXX compiler: /usr/bin/c++&lt;BR /&gt;-- Check for working CXX compiler: /usr/bin/c++ - works&lt;BR /&gt;-- Detecting CXX compiler ABI info&lt;BR /&gt;-- Detecting CXX compiler ABI info - done&lt;BR /&gt;-- Detecting CXX compile features&lt;BR /&gt;-- Detecting CXX compile features - done&lt;BR /&gt;python version: 3.6m&lt;BR /&gt;-- Found PythonLibs: /usr/local/lib/libpython3.6m.a (found version "3.6.4")&lt;BR /&gt;pybind11 include: /home/avpathak/ydk/ydk-venv/lib/python3.6/site-packages/pybind11/include;/home/avpathak/ydk/ydk-venv/lib/python3.6/site-packages/pybind11/include&lt;BR /&gt;-- Configuring done&lt;BR /&gt;-- Generating done&lt;BR /&gt;-- Build files have been written to: /tmp/pip-req-build-9ixf7fud/build/temp.linux-x86_64-3.6&lt;BR /&gt;Scanning dependencies of target ydk_&lt;BR /&gt;[ 50%] Building CXX object CMakeFiles/ydk_.dir/python.cpp.o&lt;BR /&gt;/tmp/pip-req-build-9ixf7fud/python.cpp:541:62: warning: unused parameter ÔÇÿleftÔÇÖ [-Wunused-parameter]&lt;BR /&gt;.def("__eq__", [](ydk::Empty&amp;amp; left, ydk::Empty&amp;amp; right)&lt;BR /&gt;^&lt;BR /&gt;/tmp/pip-req-build-9ixf7fud/python.cpp:541:62: warning: unused parameter ÔÇÿrightÔÇÖ [-Wunused-parameter]&lt;BR /&gt;/tmp/pip-req-build-9ixf7fud/python.cpp:541:62: warning: unused parameter ÔÇÿleftÔÇÖ [-Wunused-parameter]&lt;BR /&gt;/tmp/pip-req-build-9ixf7fud/python.cpp:541:62: warning: unused parameter ÔÇÿrightÔÇÖ [-Wunused-parameter]&lt;BR /&gt;/tmp/pip-req-build-9ixf7fud/python.cpp:545:62: warning: unused parameter ÔÇÿleftÔÇÖ [-Wunused-parameter]&lt;BR /&gt;.def("__ne__", [](ydk::Empty&amp;amp; left, ydk::Empty&amp;amp; right)&lt;BR /&gt;^&lt;BR /&gt;/tmp/pip-req-build-9ixf7fud/python.cpp:545:62: warning: unused parameter ÔÇÿrightÔÇÖ [-Wunused-parameter]&lt;BR /&gt;/tmp/pip-req-build-9ixf7fud/python.cpp:545:62: warning: unused parameter ÔÇÿleftÔÇÖ [-Wunused-parameter]&lt;BR /&gt;/tmp/pip-req-build-9ixf7fud/python.cpp:545:62: warning: unused parameter ÔÇÿrightÔÇÖ [-Wunused-parameter]&lt;BR /&gt;[100%] Linking CXX shared module ../lib.linux-x86_64-3.6/ydk_.so&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(abstract.o): relocation R_X86_64_32S against symbol `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(boolobject.o): relocation R_X86_64_32S against symbol `PyBool_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(bytearrayobject.o): relocation R_X86_64_32 against symbol `_PyByteArray_empty_string' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(bytesobject.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(classobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(descrobject.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(exceptions.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(floatobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(frameobject.o): relocation R_X86_64_32S against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(funcobject.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(iterobject.o): relocation R_X86_64_32 against symbol `PyCallIter_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(listobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(longobject.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(dictobject.o): relocation R_X86_64_32 against symbol `_Py_TrueStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(memoryobject.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(methodobject.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(moduleobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(object.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(obmalloc.o): relocation R_X86_64_32S against `.text.hot' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(capsule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(rangeobject.o): relocation R_X86_64_32S against symbol `PyRange_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(setobject.o): relocation R_X86_64_32S against symbol `PySet_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(sliceobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(structseq.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(tupleobject.o): relocation R_X86_64_32 against symbol `_PyEval_SliceIndexNotNone' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(typeobject.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(unicodeobject.o): relocation R_X86_64_32S against symbol `PyUnicode_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(unicodectype.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(weakrefobject.o): relocation R_X86_64_32S against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_warnings.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(bltinmodule.o): relocation R_X86_64_32S against symbol `PyFilter_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(ceval.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(compile.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(codecs.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(errors.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(future.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(getargs.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(getversion.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(import.o): relocation R_X86_64_32S against symbol `PyModule_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(importdl.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(marshal.o): relocation R_X86_64_32 against symbol `_Py_hashtable_compare_direct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(modsupport.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(peephole.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(pyhash.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(pylifecycle.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(pystate.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(pythonrun.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(pytime.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(random.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(structmember.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(symtable.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(sysmodule.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(traceback.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(pystrtod.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(dtoa.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(formatter_unicode.o): relocation R_X86_64_32S against symbol `_Py_ctype_table' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(fileutils.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(dynload_shlib.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(thread.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(getpath.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(gcmodule.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_threadmodule.o): relocation R_X86_64_32S against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(posixmodule.o): relocation R_X86_64_32S against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(errnomodule.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(pwdmodule.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_sre.o): relocation R_X86_64_32S against symbol `_Py_ctype_tolower' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_codecsmodule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_weakref.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_functoolsmodule.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_operator.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_collectionsmodule.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(itertoolsmodule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(atexitmodule.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(signalmodule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_stat.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(timemodule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_localemodule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_iomodule.o): relocation R_X86_64_32 against symbol `_PyIO_Module' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(iobase.o): relocation R_X86_64_32 against symbol `_Py_FalseStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(fileio.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(bytesio.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(bufferedio.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(textio.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(stringio.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(zipimport.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(faulthandler.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_tracemalloc.o): relocation R_X86_64_32 against symbol `_Py_TrueStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(hashtable.o): relocation R_X86_64_32 against symbol `PyMem_RawMalloc' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(symtablemodule.o): relocation R_X86_64_32 against symbol `PyUnicode_FSDecoder' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(xxsubtype.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(getbuildinfo.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(acceler.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(grammar1.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(myreadline.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(parsetok.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(tokenizer.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(accu.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(bytes_methods.o): relocation R_X86_64_32S against symbol `_Py_ctype_table' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(cellobject.o): relocation R_X86_64_32S against symbol `PyCell_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(codeobject.o): relocation R_X86_64_32S against symbol `PyUnicode_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(complexobject.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(enumobject.o): relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(genobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(fileobject.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(odictobject.o): relocation R_X86_64_32 against symbol `PyODictIter_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(namespaceobject.o): relocation R_X86_64_32 against symbol `_PyNamespace_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(Python-ast.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(ast.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(getcompiler.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(getcopyright.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(getplatform.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(mystrtoul.o): relocation R_X86_64_32S against symbol `_Py_ctype_table' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(parser.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: final link failed: Nonrepresentable section on output&lt;BR /&gt;collect2: error: ld returned 1 exit status&lt;BR /&gt;gmake[2]: *** [../lib.linux-x86_64-3.6/ydk_.so] Error 1&lt;BR /&gt;gmake[1]: *** [CMakeFiles/ydk_.dir/all] Error 2&lt;BR /&gt;gmake: *** [all] Error 2&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "/tmp/pip-req-build-9ixf7fud/setup.py", line 145, in &amp;lt;module&amp;gt;&lt;BR /&gt;zip_safe=False,&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/core.py", line 148, in setup&lt;BR /&gt;dist.run_commands()&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/dist.py", line 955, in run_commands&lt;BR /&gt;self.run_command(cmd)&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command&lt;BR /&gt;cmd_obj.run()&lt;BR /&gt;File "/home/avpathak/ydk/ydk-venv/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 223, in run&lt;BR /&gt;self.run_command('build')&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/cmd.py", line 313, in run_command&lt;BR /&gt;self.distribution.run_command(command)&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command&lt;BR /&gt;cmd_obj.run()&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/command/build.py", line 135, in run&lt;BR /&gt;self.run_command(cmd_name)&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/cmd.py", line 313, in run_command&lt;BR /&gt;self.distribution.run_command(command)&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command&lt;BR /&gt;cmd_obj.run()&lt;BR /&gt;File "/tmp/pip-req-build-9ixf7fud/setup.py", line 68, in run&lt;BR /&gt;self.build_extension(ext)&lt;BR /&gt;File "/tmp/pip-req-build-9ixf7fud/setup.py", line 101, in build_extension&lt;BR /&gt;subprocess.check_call([cmake_executable, '--build', '.'], cwd=self.build_temp)&lt;BR /&gt;File "/usr/local/lib/python3.6/subprocess.py", line 291, in check_call&lt;BR /&gt;raise CalledProcessError(retcode, cmd)&lt;BR /&gt;subprocess.CalledProcessError: Command '['cmake3', '--build', '.']' returned non-zero exit status 2.&lt;BR /&gt;----------------------------------------&lt;BR /&gt;ERROR: Failed building wheel for ydk&lt;BR /&gt;Running setup.py clean for ydk&lt;BR /&gt;Failed to build ydk&lt;BR /&gt;Installing collected packages: ydk&lt;BR /&gt;Running setup.py install for ydk ... error&lt;BR /&gt;ERROR: Command errored out with exit status 1:&lt;BR /&gt;command: /home/avpathak/ydk/ydk-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-9ixf7fud/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-9ixf7fud/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ksnyxw92/install-record.txt --single-version-externally-managed --compile --install-headers /home/avpathak/ydk/ydk-venv/include/site/python3.6/ydk&lt;BR /&gt;cwd: /tmp/pip-req-build-9ixf7fud/&lt;BR /&gt;Complete output (230 lines):&lt;BR /&gt;running install&lt;BR /&gt;running build&lt;BR /&gt;running build_py&lt;BR /&gt;creating build&lt;BR /&gt;creating build/lib.linux-x86_64-3.6&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk&lt;BR /&gt;copying ydk/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk&lt;BR /&gt;copying ydk/exthook.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;copying ydk/services/codec_service.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;copying ydk/services/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;copying ydk/services/executor_service.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;copying ydk/services/netconf_service.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;copying ydk/services/crud_service.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/filters&lt;BR /&gt;copying ydk/filters/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/filters&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/ext&lt;BR /&gt;copying ydk/ext/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/ext&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/types&lt;BR /&gt;copying ydk/types/py_types.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/types&lt;BR /&gt;copying ydk/types/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/types&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/models&lt;BR /&gt;copying ydk/models/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/models&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/entity_utils&lt;BR /&gt;copying ydk/entity_utils/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/entity_utils&lt;BR /&gt;copying ydk/entity_utils/entity_utils.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/entity_utils&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/providers&lt;BR /&gt;copying ydk/providers/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/providers&lt;BR /&gt;copying ydk/providers/codec_provider.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/providers&lt;BR /&gt;copying ydk/providers/netconf_provider.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/providers&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/_core&lt;BR /&gt;copying ydk/_core/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/_core&lt;BR /&gt;copying ydk/_core/_dm_meta_info.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/_core&lt;BR /&gt;copying ydk/_core/_importer.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/_core&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/logging&lt;BR /&gt;copying ydk/logging/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/logging&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/errors&lt;BR /&gt;copying ydk/errors/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/errors&lt;BR /&gt;copying ydk/errors/error_handler.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/errors&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/path&lt;BR /&gt;copying ydk/path/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/path&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/path/sessions&lt;BR /&gt;copying ydk/path/sessions/restconf_session.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/path/sessions&lt;BR /&gt;copying ydk/path/sessions/netconf_session.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/path/sessions&lt;BR /&gt;copying ydk/path/sessions/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/path/sessions&lt;BR /&gt;running build_ext&lt;BR /&gt;-- The C compiler identification is GNU 4.8.5&lt;BR /&gt;-- The CXX compiler identification is GNU 4.8.5&lt;BR /&gt;-- Check for working C compiler: /usr/bin/cc&lt;BR /&gt;-- Check for working C compiler: /usr/bin/cc - works&lt;BR /&gt;-- Detecting C compiler ABI info&lt;BR /&gt;-- Detecting C compiler ABI info - done&lt;BR /&gt;-- Detecting C compile features&lt;BR /&gt;-- Detecting C compile features - done&lt;BR /&gt;-- Check for working CXX compiler: /usr/bin/c++&lt;BR /&gt;-- Check for working CXX compiler: /usr/bin/c++ - works&lt;BR /&gt;-- Detecting CXX compiler ABI info&lt;BR /&gt;-- Detecting CXX compiler ABI info - done&lt;BR /&gt;-- Detecting CXX compile features&lt;BR /&gt;-- Detecting CXX compile features - done&lt;BR /&gt;python version: 3.6m&lt;BR /&gt;-- Found PythonLibs: /usr/local/lib/libpython3.6m.a (found version "3.6.4")&lt;BR /&gt;pybind11 include: /home/avpathak/ydk/ydk-venv/lib/python3.6/site-packages/pybind11/include;/home/avpathak/ydk/ydk-venv/lib/python3.6/site-packages/pybind11/include&lt;BR /&gt;-- Configuring done&lt;BR /&gt;-- Generating done&lt;BR /&gt;-- Build files have been written to: /tmp/pip-req-build-9ixf7fud/build/temp.linux-x86_64-3.6&lt;BR /&gt;Scanning dependencies of target ydk_&lt;BR /&gt;[ 50%] Building CXX object CMakeFiles/ydk_.dir/python.cpp.o&lt;BR /&gt;/tmp/pip-req-build-9ixf7fud/python.cpp:541:62: warning: unused parameter ÔÇÿleftÔÇÖ [-Wunused-parameter]&lt;BR /&gt;.def("__eq__", [](ydk::Empty&amp;amp; left, ydk::Empty&amp;amp; right)&lt;BR /&gt;^&lt;BR /&gt;/tmp/pip-req-build-9ixf7fud/python.cpp:541:62: warning: unused parameter ÔÇÿrightÔÇÖ [-Wunused-parameter]&lt;BR /&gt;/tmp/pip-req-build-9ixf7fud/python.cpp:541:62: warning: unused parameter ÔÇÿleftÔÇÖ [-Wunused-parameter]&lt;BR /&gt;/tmp/pip-req-build-9ixf7fud/python.cpp:541:62: warning: unused parameter ÔÇÿrightÔÇÖ [-Wunused-parameter]&lt;BR /&gt;/tmp/pip-req-build-9ixf7fud/python.cpp:545:62: warning: unused parameter ÔÇÿleftÔÇÖ [-Wunused-parameter]&lt;BR /&gt;.def("__ne__", [](ydk::Empty&amp;amp; left, ydk::Empty&amp;amp; right)&lt;BR /&gt;^&lt;BR /&gt;/tmp/pip-req-build-9ixf7fud/python.cpp:545:62: warning: unused parameter ÔÇÿrightÔÇÖ [-Wunused-parameter]&lt;BR /&gt;/tmp/pip-req-build-9ixf7fud/python.cpp:545:62: warning: unused parameter ÔÇÿleftÔÇÖ [-Wunused-parameter]&lt;BR /&gt;/tmp/pip-req-build-9ixf7fud/python.cpp:545:62: warning: unused parameter ÔÇÿrightÔÇÖ [-Wunused-parameter]&lt;BR /&gt;[100%] Linking CXX shared module ../lib.linux-x86_64-3.6/ydk_.so&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(abstract.o): relocation R_X86_64_32S against symbol `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(boolobject.o): relocation R_X86_64_32S against symbol `PyBool_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(bytearrayobject.o): relocation R_X86_64_32 against symbol `_PyByteArray_empty_string' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(bytesobject.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(classobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(descrobject.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(exceptions.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(floatobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(frameobject.o): relocation R_X86_64_32S against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(funcobject.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(iterobject.o): relocation R_X86_64_32 against symbol `PyCallIter_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(listobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(longobject.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(dictobject.o): relocation R_X86_64_32 against symbol `_Py_TrueStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(memoryobject.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(methodobject.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(moduleobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(object.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(obmalloc.o): relocation R_X86_64_32S against `.text.hot' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(capsule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(rangeobject.o): relocation R_X86_64_32S against symbol `PyRange_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(setobject.o): relocation R_X86_64_32S against symbol `PySet_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(sliceobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(structseq.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(tupleobject.o): relocation R_X86_64_32 against symbol `_PyEval_SliceIndexNotNone' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(typeobject.o): relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(unicodeobject.o): relocation R_X86_64_32S against symbol `PyUnicode_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(unicodectype.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(weakrefobject.o): relocation R_X86_64_32S against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_warnings.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(bltinmodule.o): relocation R_X86_64_32S against symbol `PyFilter_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(ceval.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(compile.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(codecs.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(errors.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(future.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(getargs.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(getversion.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(import.o): relocation R_X86_64_32S against symbol `PyModule_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(importdl.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(marshal.o): relocation R_X86_64_32 against symbol `_Py_hashtable_compare_direct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(modsupport.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(peephole.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(pyhash.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(pylifecycle.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(pystate.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(pythonrun.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(pytime.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(random.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(structmember.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(symtable.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(sysmodule.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(traceback.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(pystrtod.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(dtoa.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(formatter_unicode.o): relocation R_X86_64_32S against symbol `_Py_ctype_table' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(fileutils.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(dynload_shlib.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(thread.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(getpath.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(gcmodule.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_threadmodule.o): relocation R_X86_64_32S against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(posixmodule.o): relocation R_X86_64_32S against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(errnomodule.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(pwdmodule.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_sre.o): relocation R_X86_64_32S against symbol `_Py_ctype_tolower' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_codecsmodule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_weakref.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_functoolsmodule.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_operator.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_collectionsmodule.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(itertoolsmodule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(atexitmodule.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(signalmodule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_stat.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(timemodule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_localemodule.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_iomodule.o): relocation R_X86_64_32 against symbol `_PyIO_Module' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(iobase.o): relocation R_X86_64_32 against symbol `_Py_FalseStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(fileio.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(bytesio.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(bufferedio.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(textio.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(stringio.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(zipimport.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(faulthandler.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(_tracemalloc.o): relocation R_X86_64_32 against symbol `_Py_TrueStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(hashtable.o): relocation R_X86_64_32 against symbol `PyMem_RawMalloc' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(symtablemodule.o): relocation R_X86_64_32 against symbol `PyUnicode_FSDecoder' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(xxsubtype.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(getbuildinfo.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(acceler.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(grammar1.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(myreadline.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(parsetok.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(tokenizer.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(accu.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(bytes_methods.o): relocation R_X86_64_32S against symbol `_Py_ctype_table' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(cellobject.o): relocation R_X86_64_32S against symbol `PyCell_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(codeobject.o): relocation R_X86_64_32S against symbol `PyUnicode_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(complexobject.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(enumobject.o): relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(genobject.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(fileobject.o): relocation R_X86_64_32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(odictobject.o): relocation R_X86_64_32 against symbol `PyODictIter_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(namespaceobject.o): relocation R_X86_64_32 against symbol `_PyNamespace_Type' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(Python-ast.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(ast.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(getcompiler.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(getcopyright.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(getplatform.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(mystrtoul.o): relocation R_X86_64_32S against symbol `_Py_ctype_table' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: /usr/local/lib/libpython3.6m.a(parser.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC&lt;BR /&gt;/usr/bin/ld: final link failed: Nonrepresentable section on output&lt;BR /&gt;collect2: error: ld returned 1 exit status&lt;BR /&gt;gmake[2]: *** [../lib.linux-x86_64-3.6/ydk_.so] Error 1&lt;BR /&gt;gmake[1]: *** [CMakeFiles/ydk_.dir/all] Error 2&lt;BR /&gt;gmake: *** [all] Error 2&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "/tmp/pip-req-build-9ixf7fud/setup.py", line 145, in &amp;lt;module&amp;gt;&lt;BR /&gt;zip_safe=False,&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/core.py", line 148, in setup&lt;BR /&gt;dist.run_commands()&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/dist.py", line 955, in run_commands&lt;BR /&gt;self.run_command(cmd)&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command&lt;BR /&gt;cmd_obj.run()&lt;BR /&gt;File "/home/avpathak/ydk/ydk-venv/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run&lt;BR /&gt;return orig.install.run(self)&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/command/install.py", line 545, in run&lt;BR /&gt;self.run_command('build')&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/cmd.py", line 313, in run_command&lt;BR /&gt;self.distribution.run_command(command)&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command&lt;BR /&gt;cmd_obj.run()&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/command/build.py", line 135, in run&lt;BR /&gt;self.run_command(cmd_name)&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/cmd.py", line 313, in run_command&lt;BR /&gt;self.distribution.run_command(command)&lt;BR /&gt;File "/usr/local/lib/python3.6/distutils/dist.py", line 974, in run_command&lt;BR /&gt;cmd_obj.run()&lt;BR /&gt;File "/tmp/pip-req-build-9ixf7fud/setup.py", line 68, in run&lt;BR /&gt;self.build_extension(ext)&lt;BR /&gt;File "/tmp/pip-req-build-9ixf7fud/setup.py", line 101, in build_extension&lt;BR /&gt;subprocess.check_call([cmake_executable, '--build', '.'], cwd=self.build_temp)&lt;BR /&gt;File "/usr/local/lib/python3.6/subprocess.py", line 291, in check_call&lt;BR /&gt;raise CalledProcessError(retcode, cmd)&lt;BR /&gt;subprocess.CalledProcessError: Command '['cmake3', '--build', '.']' returned non-zero exit status 2.&lt;BR /&gt;----------------------------------------&lt;BR /&gt;ERROR: Command errored out with exit status 1: /home/avpathak/ydk/ydk-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-9ixf7fud/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-9ixf7fud/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-ksnyxw92/install-record.txt --single-version-externally-managed --compile --install-headers /home/avpathak/ydk/ydk-venv/include/site/python3.6/ydk Check the logs for full command output.&lt;BR /&gt;(ydk-venv) [root@avpathak1-lnx ydk-gen]# &lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 20:24:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/error-while-doing-pip-install-for-pip-install-gen-api-python-ydk/m-p/4260320#M1740</guid>
      <dc:creator>avpathak</dc:creator>
      <dc:date>2020-12-17T20:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error while doing pip install for pip install gen-api/python/ydk/dist/ydk-0.8.5.tar.gz</title>
      <link>https://community.cisco.com/t5/tools/error-while-doing-pip-install-for-pip-install-gen-api-python-ydk/m-p/4260324#M1741</link>
      <description>&lt;P&gt;If your intention is just installing Yang Development Kit, i suggest to follow the procedures found in the official documentation website:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://ydk.cisco.com/py/docs/getting_started.html#quick-install" target="_blank"&gt;http://ydk.cisco.com/py/docs/getting_started.html#quick-install&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 20:36:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/error-while-doing-pip-install-for-pip-install-gen-api-python-ydk/m-p/4260324#M1741</guid>
      <dc:creator>Michael Alvarez Martinez</dc:creator>
      <dc:date>2020-12-17T20:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error while doing pip install for pip install gen-api/python/ydk/dist/ydk-0.8.5.tar.gz</title>
      <link>https://community.cisco.com/t5/tools/error-while-doing-pip-install-for-pip-install-gen-api-python-ydk/m-p/4260464#M1742</link>
      <description>&lt;P&gt;Hi Michael&lt;BR /&gt;You pointed to YDK-0.8.3 documentation, whereas avpathak is trying to install 0.8.5. More accurate for YDK-0.8.5 would be &lt;A href="https://github.com/ygorelik/ydk-gen#core-installation" target="_self"&gt;this&lt;/A&gt; one.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 21:13:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/error-while-doing-pip-install-for-pip-install-gen-api-python-ydk/m-p/4260464#M1742</guid>
      <dc:creator>yangorelik</dc:creator>
      <dc:date>2020-12-18T21:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error while doing pip install for pip install gen-api/python/ydk/dist/ydk-0.8.5.tar.gz</title>
      <link>https://community.cisco.com/t5/tools/error-while-doing-pip-install-for-pip-install-gen-api-python-ydk/m-p/4260512#M1743</link>
      <description>&lt;P&gt;HI Michael/Yan ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have python 3.6.4&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i tried pip install ydk . But still getting same error .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know what I am missing here .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(ydk-venv) [root@avpathak1-lnx ydk-gen]# pip install ydk&lt;BR /&gt;Collecting ydk&lt;BR /&gt;Downloading ydk-0.8.4.tar.gz (33 kB)&lt;BR /&gt;Requirement already satisfied: pybind11&amp;gt;=2.1.1 in /home/avpathak/ydk/ydk-venv/lib/python3.6/site-packages (from ydk) (2.6.1)&lt;BR /&gt;Building wheels for collected packages: ydk&lt;BR /&gt;Building wheel for ydk (setup.py) ... error&lt;BR /&gt;ERROR: Command errored out with exit status 1:&lt;BR /&gt;command: /home/avpathak/ydk/ydk-venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-k4g767f8/ydk_8aef24b5833d44aea5012f78bb564a48/setup.py'"'"'; __file__='"'"'/tmp/pip-install-k4g767f8/ydk_8aef24b5833d44aea5012f78bb564a48/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ydwsx3x7&lt;BR /&gt;cwd: /tmp/pip-install-k4g767f8/ydk_8aef24b5833d44aea5012f78bb564a48/&lt;BR /&gt;Complete output (228 lines):&lt;BR /&gt;running bdist_wheel&lt;BR /&gt;running build&lt;BR /&gt;running build_py&lt;BR /&gt;creating build&lt;BR /&gt;creating build/lib.linux-x86_64-3.6&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk&lt;BR /&gt;copying ydk/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk&lt;BR /&gt;copying ydk/exthook.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;copying ydk/services/codec_service.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;copying ydk/services/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;copying ydk/services/executor_service.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;copying ydk/services/netconf_service.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;copying ydk/services/crud_service.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/services&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/filters&lt;BR /&gt;copying ydk/filters/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/filters&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/ext&lt;BR /&gt;copying ydk/ext/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/ext&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/types&lt;BR /&gt;copying ydk/types/py_types.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/types&lt;BR /&gt;copying ydk/types/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/types&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/models&lt;BR /&gt;copying ydk/models/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/models&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/entity_utils&lt;BR /&gt;copying ydk/entity_utils/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/entity_utils&lt;BR /&gt;copying ydk/entity_utils/entity_utils.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/entity_utils&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/providers&lt;BR /&gt;copying ydk/providers/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/providers&lt;BR /&gt;copying ydk/providers/codec_provider.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/providers&lt;BR /&gt;copying ydk/providers/netconf_provider.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/providers&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/_core&lt;BR /&gt;copying ydk/_core/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/_core&lt;BR /&gt;copying ydk/_core/_dm_meta_info.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/_core&lt;BR /&gt;copying ydk/_core/_importer.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/_core&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/logging&lt;BR /&gt;copying ydk/logging/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/logging&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/errors&lt;BR /&gt;copying ydk/errors/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/errors&lt;BR /&gt;copying ydk/errors/error_handler.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/errors&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/path&lt;BR /&gt;copying ydk/path/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/path&lt;BR /&gt;creating build/lib.linux-x86_64-3.6/ydk/path/sessions&lt;BR /&gt;copying ydk/path/sessions/restconf_session.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/path/sessions&lt;BR /&gt;copying ydk/path/sessions/netconf_session.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/path/sessions&lt;BR /&gt;copying ydk/path/sessions/__init__.py -&amp;gt; build/lib.linux-x86_64-3.6/ydk/path/sessions&lt;BR /&gt;running build_ext&lt;BR /&gt;-- The C compiler identification is GNU 4.8.5&lt;BR /&gt;-&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 04:45:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/error-while-doing-pip-install-for-pip-install-gen-api-python-ydk/m-p/4260512#M1743</guid>
      <dc:creator>avpathak</dc:creator>
      <dc:date>2020-12-18T04:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error while doing pip install for pip install gen-api/python/ydk/dist/ydk-0.8.5.tar.gz</title>
      <link>https://community.cisco.com/t5/tools/error-while-doing-pip-install-for-pip-install-gen-api-python-ydk/m-p/4260513#M1744</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/914537"&gt;@yangorelik&lt;/a&gt;&amp;nbsp; is there a diferent URL for YDK-0.8.5. Could you pls point me there&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Avinash&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 04:50:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/error-while-doing-pip-install-for-pip-install-gen-api-python-ydk/m-p/4260513#M1744</guid>
      <dc:creator>avpathak</dc:creator>
      <dc:date>2020-12-18T04:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error while doing pip install for pip install gen-api/python/ydk/dist/ydk-0.8.5.tar.gz</title>
      <link>https://community.cisco.com/t5/tools/error-while-doing-pip-install-for-pip-install-gen-api-python-ydk/m-p/4261016#M1745</link>
      <description>&lt;P&gt;I believe you are missing installation of YDK core library. Please follow &lt;A href="https://github.com/ygorelik/ydk-gen#core-installation" target="_self"&gt;this&lt;/A&gt; installation procedure of YDK-0.8.5. I also suggest to clone YDK from my fork:&lt;/P&gt;&lt;P&gt;&amp;gt; git clone &lt;A href="https://github.com/ygorelik/ydk-gen.git" target="_blank"&gt;https://github.com/ygorelik/ydk-gen.git&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 21:20:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/error-while-doing-pip-install-for-pip-install-gen-api-python-ydk/m-p/4261016#M1745</guid>
      <dc:creator>yangorelik</dc:creator>
      <dc:date>2020-12-18T21:20:06Z</dc:date>
    </item>
  </channel>
</rss>

