ImportError: DLL load failed while importing _psycopg: 找不到指定的模块。解决办法

python版本需要和psycopg库的版本对应,下载对应版本即可解决。
例:python3.8安装pip install psycopg2-binary==2.8.6

你可能感兴趣的:(数据库,python)