python - How to install psycopg2 for django on mac -


i have postgresql installed (with postgresql app). when try "pip install psycopg2", "unable execute gcc-4.2: no such file or directory. how fix?

you need xcode compile gcc on macos. install command in terminal:

xcode-select --install 

or cold install app store.


Comments

Popular posts from this blog

sql - MySQL - Finding Empty relations -

unity3d - Rotate an object to face an opposite direction -

Upload file with tags through OwnCloud or NextCloud API -