2014-12-02 103 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