无法安装psycopg2

时间:2016-08-25 13:06:19

标签: python psycopg2

我在Ubuntu 15.10 for Python 3.5上安装psycopg2。我首先遇到了这个问题:

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-9enc9eqe/psycopg2

我用这个答案治愈了它:https://stackoverflow.com/a/25855548/3014866

我遇到了新的例外:

Command "/usr/bin/python3.5 -c "import setuptools, tokenize;__file__='/tmp/pip-build-ne0zd8lq/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-m286d8vp-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-ne0zd8lq/psycopg2

我不知道如何解决它。

0 个答案:

没有答案