Psycopg2 image not found

后端 未结 20 1731
无人及你
无人及你 2020-11-29 18:04

Trying to setup postgres with the postgres mac app and hit this error, which I haven\'t been able to solve. Any thoughts?

    ImportError: dlopen(/Users/Crai         


        
20条回答
  •  情话喂你
    2020-11-29 18:24

    In case if you are working on python/django with virtual environment

    Worked for me for the following Version

    • MacOS Catalina 10.5.2
    • python 3.7.3
    • Django 3.0.2
    • psycopg2==2.8.4
    • virtualenv 16.6.0
    • pip 19.3.1
    • postgres (PostgreSQL) 11.2

    3 Steps Solutions

    • Delete Existing Virtual Environment
    • Create New Virtual Environemnt again
    • Install Dependencies again

提交回复
热议问题