When I launch command line:
$ pip install -r requirements.txt
The following error shows:
command 'gcc-4.0' failed with exit status 1
Why? Thanks!
I had this same problem. The issue was that pip was looking for gcc in the /Developer folder, which does not exist on my system. I ended up creating the folder that pip was looking for (/Developer/usr/bin) and adding a symbolic link to /usr/bin/gcc in this new folder. The command to do this is ln -s /usr/bin/gcc gcc
. In your case, you can replace gcc
with gcc-4.0
. I hope this helps.
You can find some more information here: gcc-4.2 error when using pip in virtualenv on OSX 10.7.
Are you trying to install the requirements manually? That automatically happens when you deploy to Heroku, as long as you have a requirements.txt
file in the root of the repo.