You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.
I have psycopg2 in my requirements.txt which requires pg_config to be on the PATH. Mine wasn't so the install fails.
It seems like it might be useful to be able to specify environment variables on the pip_requirements resource for stuff like this, unless there's a better way to be going about this.
As a workaround I added a symlink to a location I knew was already on the existing PATH:
I think this one may also help with my broken uwsgi installation via pip_requirements as well. It ended up being because of /opt/chef/embedded/bin being on the PATH.
I was able to work around it by using an execute resource and resetting PATH:
I have psycopg2 in my requirements.txt which requires pg_config to be on the PATH. Mine wasn't so the install fails.
It seems like it might be useful to be able to specify environment variables on the
pip_requirements
resource for stuff like this, unless there's a better way to be going about this.As a workaround I added a symlink to a location I knew was already on the existing PATH:
The text was updated successfully, but these errors were encountered: