Mac + virtualenv + pip + postgresql = Error: pg_config executable not found

On the Mac, if you’re using Postgres.app, the pg_config file is in your /Applications/Postgres.app/Contents/Versions/<current_version>/bin directory. That’ll need to be added to your system path to fix this error, like this: export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/<current_version>/bin So for example, if the current Postgres.app version is 9.5, this export line would be: export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.5/bin With more recent versions of the … Read more

.ssh/config: “Bad configuration option: UseKeychain” on Mac OS Sierra 10.12.6

Try to specify another option, namely IgnoreUnknown like below: Host * IgnoreUnknown UseKeychain UseKeychain yes You can find more info about this here. If you already have an IgnoreUnknown value, use comma separated values Host * IgnoreUnknown AddKeysToAgent,UseKeychain AddKeysToAgent yes UseKeychain yes If you have multiple Host configs that use the UseKeychain option, make sure … Read more