Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save linuxkathirvel/e6da8b140834958501d27dbbf575b276 to your computer and use it in GitHub Desktop.
Save linuxkathirvel/e6da8b140834958501d27dbbf575b276 to your computer and use it in GitHub Desktop.
How to install Python psycopg2 package in Manjaro and Arch Linux?

How to install Python psycopg2 in Manjaro and Arch Linux?

sudo pacman -S postgresql-libs
pip install psycopg2
@Dushistov
Copy link

Wouldn't it be better to use

sudo pacman -S python-psycopg2

?

@kevindotglasson
Copy link

Wont this install it in the system python?

@vbullsey
Copy link

vbullsey commented Nov 7, 2023

thanks! i was missing 'postgresql-libs' 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment