【发布时间】:2017-02-07 15:10:39
【问题描述】:
我正在为我的一堂课做一个项目,我需要下载包 psycopg2 才能使用正在使用的 postgresql 数据库。不幸的是,当我尝试 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
有人知道为什么会这样吗?提前致谢!
【问题讨论】: