php - Python setup.py egg_info failed with error code 1 at pip install psycopg2 -


[root@nav15 nav15]# pip install psycopg2 collecting psycopg2 /usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: insecureplatformwarning: true sslcontext object not available. prevents urllib3 configuring ssl appropriately , may cause ssl connections fail. more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.   insecureplatformwarning   using cached psycopg2-2.6.2.tar.gz     complete output command python setup.py egg_info:     running egg_info     creating pip-egg-info/psycopg2.egg-info     /tmp/pip-build-fh_xn3/psycopg2/setup.py:12: deprecationwarning: parameters load deprecated.  call .resolve , .require separately.       # fitness particular purpose.  see gnu lesser general public     writing pip-egg-info/psycopg2.egg-info/pkg-info     writing top-level names pip-egg-info/psycopg2.egg-info/top_level.txt     writing dependency_links pip-egg-info/psycopg2.egg-info/dependency_links.txt     writing pip-egg-info/psycopg2.egg-info/pkg-info     writing top-level names pip-egg-info/psycopg2.egg-info/top_level.txt     writing dependency_links pip-egg-info/psycopg2.egg-info/dependency_links.txt     writing manifest file 'pip-egg-info/psycopg2.egg-info/sources.txt'     warning: manifest_maker: standard file '-c' not found     error: pg_config executable not found.      please add directory containing pg_config path     or specify full executable path option:          python setup.py build_ext --pg-config /path/to/pg_config build ...      or pg_config option in 'setup.cfg'.      ---------------------------------------- command "python setup.py egg_info" failed error code 1 in /tmp/pip-build-fh_xn3/psycopg2 


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -