Psycopg2 image not found

后端 未结 20 1729
无人及你
无人及你 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:27

    I had the same error because of upgrading Postgres.app (from 9.3 to 9.4).

    The solution was to delete the pip cache wheels because they were pointing to Postgres.app version 9.3.

    I've found the according psycopg wheel cache files this way

    grep -r psycopg ~/.pip/cache
    

    and deleted the directory I've found with the last command.

提交回复
热议问题