pip install error

1. pip install cryptography errorpython

   (1) Error msglinux

 build/temp.linux-x86_64-2.7/_openssl.c:434:30: fatal error: openssl/opensslv.h: No such file or directorysql

    compilation terminated.post

    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1ui

(2) solvepostgresql

apt-get install -y libpq-dev libssl-devip

2. python install psycopg2-2.6.2 errorssl

(1) error messageci

g_config executable not found. Please add the directory containing pg_config to the PATH or 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'.get

(2) solve

yum install postgresql-devel*

相關文章
相關標籤/搜索