2014-12-02 85 views
0

我試圖將psycopg02包添加到使用virtualenv的Django項目中。從PyCharm錯誤安裝psycopg02

我在Python/Django開發新的和新的蘋果Mac OS X的

請找出錯誤的截圖here

+0

Pycharm通過像附件截圖顯示的PIP做到了... – barrios 2014-12-02 08:53:39

+0

您的機器上是否安裝了PostgreSQL? – sb9 2014-12-02 09:08:50

+0

也看看[這個](http://stackoverflow.com/questions/20170895/mac-virtualenv-pip-postgresql-error-pg-config-executable-not-found)問題 – sb9 2014-12-02 09:09:50

回答

1

我通過安裝PostgreSQL的EnterpriseDB的解決這個問題,並創建virtualenv中通過終端,而不是PyCharm