<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am trying to install pulpcore on SUSE Linux Enterprise Server 15 SP2 VM, but I am not able to install it due to below error even though I installed all dependency packages like postgresql, postgresql-devel, python3-psycopg2, psycopg2-binary
 and few more.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Collecting psycopg2<2.9,>=2.7<o:p></o:p></p>
<p class="MsoNormal">  Using cached psycopg2-2.8.5.tar.gz (380 kB)<o:p></o:p></p>
<p class="MsoNormal">    ERROR: Command errored out with exit status 1:<o:p></o:p></p>
<p class="MsoNormal">     command: /usr/local/lib/pulp/bin/python3.6 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1rysuemo/psycopg2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1rysuemo/psycopg2/setup.py'"'"';f=getattr(tokenize,
 '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-jaf1kify<o:p></o:p></p>
<p class="MsoNormal">         cwd: /tmp/pip-install-1rysuemo/psycopg2/<o:p></o:p></p>
<p class="MsoNormal">    Complete output (23 lines):<o:p></o:p></p>
<p class="MsoNormal">    running egg_info<o:p></o:p></p>
<p class="MsoNormal">    creating /tmp/pip-pip-egg-info-jaf1kify/psycopg2.egg-info<o:p></o:p></p>
<p class="MsoNormal">    writing /tmp/pip-pip-egg-info-jaf1kify/psycopg2.egg-info/PKG-INFO<o:p></o:p></p>
<p class="MsoNormal">    writing dependency_links to /tmp/pip-pip-egg-info-jaf1kify/psycopg2.egg-info/dependency_links.txt<o:p></o:p></p>
<p class="MsoNormal">    writing top-level names to /tmp/pip-pip-egg-info-jaf1kify/psycopg2.egg-info/top_level.txt<o:p></o:p></p>
<p class="MsoNormal">    writing manifest file '/tmp/pip-pip-egg-info-jaf1kify/psycopg2.egg-info/SOURCES.txt'<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">    Error: pg_config executable not found.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">    pg_config is required to build psycopg2 from source.  Please add the directory<o:p></o:p></p>
<p class="MsoNormal">    containing pg_config to the $PATH or specify the full executable path with the<o:p></o:p></p>
<p class="MsoNormal">    option:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">        python setup.py build_ext --pg-config /path/to/pg_config build ...<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">    or with the pg_config option in 'setup.cfg'.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">    If you prefer to avoid building psycopg2 from source, please install the PyPI<o:p></o:p></p>
<p class="MsoNormal">    'psycopg2-binary' package instead.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">    For further information please check the 'doc/src/install.rst' file (also at<o:p></o:p></p>
<p class="MsoNormal">    <https://www.psycopg.org/docs/install.html>).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">    ----------------------------------------<o:p></o:p></p>
<p class="MsoNormal">ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="background:yellow;mso-highlight:yellow">Please let me know if any one of you came across the same issue and solution for this. It will be good if we have documentation of installing pulpcore on suse.</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Priyanka<o:p></o:p></p>
</div>
</body>
</html>