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

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -