Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

packages required to install psycopg2

pip install psycopg2-binary
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

PREVIOUS NEXT
Code Example
Shell :: sudo user centos 
Shell :: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 
Shell :: delete conda from machine 
Shell :: epub reader on ubuntu 
Shell :: how to kill linux screen 
Shell :: remove file extension bash 
Shell :: git bajar rama remota nueva 
Shell :: List User Accounts Mac 
Shell :: update npm-windows 
Shell :: install zsh auto suggestion 
Shell :: conda install django rest framework 
Shell :: installing hinterland for jupyter without anaconda 
Shell :: install ssh-copy-id 
Shell :: upgrade shell tty 
Shell :: install mysql linux mint 
Shell :: commit without a message 
Shell :: install gdal ubuntu 
Shell :: mvn command not found ubuntu 
Shell :: ifconfig not found ubuntu 20.04 
Shell :: phoneinfoga github 
Shell :: arch code 
Shell :: ufw enable 
Shell :: remove snap package 
Shell :: add staged change to your last commit 
Shell :: code UNABLE_TO_GET_ISSUER_CERT_LOCALLY 
Shell :: vlc download for linux 
Shell :: pypdf2 
Shell :: virtualbox kernel driver not installed arch linux 
Shell :: download ganache cli for windows 
Shell :: cancel merging 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =