Python Install PostgreSQL driver

Source: Internet
Author: User
Tags postgresql

Use PSYCOPG2 to connect PostgreSQL download Psycopg2wgethttp://initd.org/psycopg/tarballs/PSYCOPG-2-7/psycopg2-2.7.1.tar.gzunzip the installation, or use PIP to installpip install psycopg2-2.7.1.tar.gz Error:Complete output from command python setup.py egg_info:running egg_infocreating pip-egg-info/psycopg2.egg-infowriting Pip-egg-info/psycopg2.egg-info/pkg-infowriting top-level names to Pip-egg-info/psycopg2.egg-info/top_ Level.txtwriting dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txtwriting manifest file ' Pip-egg-info/psycopg2.egg-info/sources.txt ' Warning:manifest_maker:standard file '-C ' not founderror:pg_config Executable not found. Please add the directory containing pg_config to the Pathor specify the full executable path with the Option:python setup. PY Build_ext--pg-config/path/to/pg_config Build ... or with the pg_config option in ' Setup.cfg '. FIX: Yum install PostgreSQL -devel*

Python Install PostgreSQL driver

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.