Development Tools

python-alpine and Postgres issues

By Varun Kruthiventi |  May 26, 2021  | Development Tools, Python, Docker
Ever ended up with this issue ? Error: pg_config executable not found. pg_config is required to build psycopg2 from source. Please add the directory containing pg_config to the $PATH or specify the full executable path with the option: python setup.py build_ext --pg-config /path/to/pg_config build ... or with the pg_config option in 'setup.cfg'. If you prefer to avoid building psycopg2 from source, please install the PyPI 'psycopg2-binary' package instead. For further information please check the 'doc/src/install.
Continue Reading...

Fixing Xcode path

By Varun Kruthiventi |  May 22, 2021  | Development Tools, XCode, Mac, iOS
xcrun: error: active developer path (“/Applications/Xcode.app/Contents/Developer”) does not exist Ever faced this issue ? Xcode comes bundled with a set of command line tools which are required by some of other tools like gcc or cmake. But sometimes due to various reasons like uninstalling Xcode or moving the Xcode application to different path, you might face issues with the Xcode cli. Best way to fix this ? You can remove the existing Xcode CLI tools with the below command
Continue Reading...