Import psycopg2 Library not loaded: libssl.1.0.0.dylib

前端 未结 20 2547
囚心锁ツ
囚心锁ツ 2020-11-28 21:02

When I try to run the command:

import psycopg2

I get the error:

ImportError: dlopen(/Users/gwulfs/anaconda/lib/python2.7/si         


        
20条回答
  •  感动是毒
    2020-11-28 21:30

    The solution that worked for me (https://stackoverflow.com/a/30726895 did not) was installing psycopg2-binary with: pip install psycopg2-binary==2.7.6

    This is on MacOS Mohave.

提交回复
热议问题