Ubuntu安装psycopg2失败:error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
问题:Ubuntu安装psycopg2失败报错
1 | error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 |
解决方法:
安装 python-dev, python3-dev, libpq-dev :
1 | sudo apt-get install python-dev python3-dev libpq-dev |
Ubuntu安装psycopg2失败:error: command 'x86_64-linux-gnu-gcc' failed with exit status 1