Advertisement

Python在安装psycopg2时提示缺少pg_config可执行文件

阅读量:

近期在开发过程中需要用到PostgreSQL数据库,然而在安装psycopg2库时遇到了错误提示,具体错误信息如下:

复制代码
    Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
    Collecting psycopg2
      Downloading http://mirrors.aliyun.com/pypi/packages/23/7e/93c325482c328619870b6cd09370f6dbe1148283daca65115cd63642e60f/psycopg2-2.8.2.tar.gz (368kB)
     |████████████████████████████████| 368kB 13.1MB/s 
    ERROR: Complete output from command python setup.py egg_info:
    ERROR: running egg_info
    creating pip-egg-info/psycopg2.egg-info
    writing pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/psy

全部评论 (0)

还没有任何评论哟~