Import psycopg2 Library not loaded: libssl.1.0.0.dylib

前端 未结 20 2519
囚心锁ツ
囚心锁ツ 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:43

    I had the same problem when I updated openssl from 1.0.0 to 1.1.1d, and this fixed my problem:

    brew upgrade postgresql
    

提交回复
热议问题