我正在为我的一个讲座做一个项目,我需要下载一个包 Psycopg2,以便使用 postgreql 数据库。不幸的是,当我尝试 pip install Psycopg2时,会弹出以下错误:
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/clang' failed with exit status 1
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/clang' failed with exit status 1
有人知道为什么会发生这种事吗? 提前谢谢!