Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

error while installing psycopg2 on ubuntu 20.04

$ sudo apt-get install libpq-dev python-dev
Comment

packages required to install psycopg2

pip install psycopg2-binary
Comment

pip install psycopg2 error fedora

sudo dnf install python-devel postgresql-devel rpm-build

pip install psycopg2
Comment

psycopg2 error install

sudo apt install libpq-dev python3-dev
sudo apt install build-essential
Comment

psycopg2 error pip install error

sudo apt install libpq-dev
Comment

error installing psycopg2

	-(option1) Incase you encounter an error installing psycopg2,
      try installing the binaries instead:
pip install psycopg2-binary

	-or (option2) downgrade the header file libpq5
sudo aptitude install libpq-dev   # aptitude is recommended since it is better when it comes to resolving dependencies

accept the solution that recommends downgrading libpq5(usually the second recommended action)

pip install psycopg2
sudo apt-get install -y libpq5      # undo the downgrade
Comment

psycopg2 error

$ pip install psycopg2-binary
Comment

PREVIOUS NEXT
Code Example
Shell :: Start Xampp Mysql In Ubantu 
Shell :: Default gateway -linux 
Shell :: how to open boot config raspberry pi command propt 
Shell :: print unique lines 
Shell :: brownie delete account 
Shell :: apache2 file size 
Shell :: install zotero linux 
Shell :: isntall jest cli 
Shell :: npm init y 
Shell :: adb shell proxy 
Shell :: display branch name in terminal ubuntu 
Shell :: adonis list routes 
Shell :: start hostednetwork 
Shell :: install x centos 7 
Shell :: git check staged changes 
Shell :: linux view running jobs 
Shell :: arch linux chinese fonts 
Shell :: add an existing user account to a group 
Shell :: send files via ssh 
Shell :: ubuntu install jdk 14 
Shell :: how to stop tomcat from cmd 
Shell :: linux virtual audio cable 
Shell :: changeset in jenkins pipeline 
Shell :: sdkman install 
Shell :: install spotify ubuntu 
Shell :: adonis run migration 
Shell :: sed add word to beginning of line 
Shell :: allow localhose wsl2 
Shell :: how to copy ssh key 
Shell :: access docker ubuntu terminal 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =