Said the postgres installation on a blog, try to use python operation below, according to the net friend introduction, the need to install psycopg2:https://www.jianshu.com/p/646f4c19b0f3?utm_campaign=haruki
pip install psycopg2
But it said wrong:
./psycopg/psycopg.h:36:10: fatal error: libpq-fe.h: There's no such file or directory.
#include <libpq-fe.h>
^~~~~~~~~~~~
compilation terminated.
Hehehehehehe, these people are not tested?
Search a netizen’s solution:
sudo apt-get install libpq-dev
Then it can be normally installed, ha ha ha, really let a person speechless.
Read More:
- How To Install Java with Apt-Get on Ubuntu 16.04
- How To Install WordPress with LAMP on Ubuntu 16.04
- FreeSWITCH installation error “You must install libyuv-dev to build mod_fsv” solution
- Ubuntu14.04 installation error: no such partition
- [Solved] Win10 install Ubuntu error: wslregisterdistribution failed with error: 0x8007019e
- [Solved] faiss Failed to install Error: No version of faiss found that meets the requirements
- Install MySQL ODBC connector prompt error 1918 perfect solution (non installation of VC + + library method)
- Macos: How to Solve cocoapods Install Error
- How to Install FFmpeg on Linux
- Install the mxnet-gpu version to solve the problem of “OSError: libnccl.so.2” when importing
- How to Solve Cython-bbox pip install Error
- How to Install Mongdb4.X in Windows
- How to Install MongoDB Community Edition Manually on mac and linux
- How to Install PSSH in Centos7
- [Solved] Plug-in Install Error: This is an error with npm itself. Please report this error at:
- How to install PIL in Python 3
- How to Use pychar to run tensorflow and virtualenv (How to install tensorflow)
- [Solved] Acrobat DC 2022 Install Error: Cannot Install Acrobat Update Service
- Mac: How to Install homebrew, nginx, PHP and MySQL
- Debian: How to install MariaDB