Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

psycopg2 error install

sudo apt install libpq-dev python3-dev
sudo apt install build-essential
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 :: how to check in a library if it is installed in conda 
Shell :: install bun sh 
Shell :: resize image linux command line 
Shell :: git check staged changes 
Shell :: restart gnome shell 
Shell :: ubuntu install pip 
Shell :: install paho mqtt client raspberry pi 
Shell :: how to check hugo version 
Shell :: open a folder linux 
Shell :: display record in postgresql 
Shell :: start apache service 
Shell :: send files via ssh 
Shell :: how to make wsl import 
Shell :: awk how to remove lines in one file that are found in another file 
Shell :: bash wait until file exists 
Shell :: django load data from json file 
Shell :: bash lowercase 
Shell :: git stash apply item 
Shell :: pytorch anaconda install windows 
Shell :: docker-compose compose clear cache 
Shell :: get macadress windows 
Shell :: docker sleep infinity 
Shell :: git checkout new branch with uncommitted changes 
Shell :: intellij goto line 
Shell :: debian bullseye sources.list security 
Shell :: aws cli update profile variable 
Shell :: How do I hide the path in command line prompt on Windows? 
Shell :: git apply previous stash 
Shell :: how to exit telnet linux 
Shell :: posh-git installation on PowerShell 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =