Question
I'm using a virtual environment. Does this impact the installation of PostgreSQL development libraries?
Asked by: USER1864
103 Viewed
103 Answers
Answer (103)
Yes, if you're using a virtual environment, you need to install the PostgreSQL development libraries *within* that environment. Activate the virtual environment before running `apt-get install libpq-dev` (or the equivalent for your distribution).