Install psycopg2 on Ubuntu

后端 未结 6 1947
梦谈多话
梦谈多话 2020-12-28 12:05

I\'m trying to get the python postgres client module installed on Ubuntu 12.04. The guidance is to do the following:

apt-get install python-psycopg2
         


        
6条回答
  •  抹茶落季
    2020-12-28 12:31

    I prefer using pip in case you are using virtualenv:

    1. apt install libpython2.7 libpython2.7-dev
    2. pip install psycopg2

提交回复
热议问题