Skip to content Skip to sidebar Skip to footer

Cannot Install Psycopg2 On Virtualenv

Hi I use manjaro Linux and I tryed to install psycopg2 packge inside virtualenv but it gave errror error: command 'gcc' failed with exit status 1. Then in the console I tryed gcc -

Solution 1:

If You use Linux, to install gcc execute in terminal:

sudo apt-get install gcc

or

sudo yum install gcc

depending on your OS

Solution 2:

Yes, you need to install gcc. You might also need to install the python-dev package for your distribution. This is needed in cases where the module you are installing uses code written in C/C++.

Post a Comment for "Cannot Install Psycopg2 On Virtualenv"