Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

psycopg2-binary install

pip install psycopg2-binary
Comment

install psycopg2 ubuntu

sudo apt-get update -y

sudo apt-get install -y python3-psycopg2
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

$ pip install psycopg2-binary
Comment

psycopg2

$ pip install psycopg2
Comment

PREVIOUS NEXT
Code Example
Shell :: change owner of file in linux 
Shell :: how to get remote origin url 
Shell :: how to list banned IP ubuntu 
Shell :: ubuntu upgrade php to 7.3 
Shell :: git ssh key linux 
Shell :: bash create folder in current directory 
Shell :: install docker wsl 
Shell :: update pip 
Shell :: check network interface linux 
Shell :: linux move straight to home dir 
Shell :: git ignore changes to file 
Shell :: close chrome tab from command line ubuntu 
Shell :: failed to open stream: Permission denied in path on mac 
Shell :: how to install free download manager on linux 
Shell :: How to install rambox on linux 
Shell :: how to run a command on startup in linux ubuntu or centos 
Shell :: install node using nvm windows 
Shell :: como configurar git e github 
Shell :: how to cd into local machine using ubuntu subsystem 
Shell :: rc.local not running 
Shell :: CMake Error: Could not find CMAKE_ROOT !!! 
Shell :: find files in windows command 
Shell :: check nativescript version 
Shell :: find command 
Shell :: docker console into container 
Shell :: bash store file lines in variable 
Shell :: set zsh as default linux 
Shell :: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory. 
Shell :: unstage files in git 
Shell :: Available platform plugins are: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx. 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =