Installing psycopg2 (postgresql) in virtualenv on windows

前端 未结 3 539
一向
一向 2020-12-15 17:37

I installed psycopg2 in virtualenv using easy_install psycopg2. I did not see any errors and looks like installation went fine.. there is an egg file created in

3条回答
  •  北荒
    北荒 (楼主)
    2020-12-15 18:13

    There is an alternative to install python packages in your computer i.e, pip. You can download python packages by just executing:-

        pip install psycopg2 
    

    The general format of the command is

        pip install [package-name]
    

    P.S:- To install python packages globally through pip

        sudo pip install [package-name]
    

提交回复
热议问题