Rumah  >  Soal Jawab  >  teks badan

macos - Mac pip安装MySQL-python psycopg2报错

系统:macOS Sierra

pip install MySQL-python, 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 'cc' failed with exit status 1

报错显示没有找到lssl这个库,我用Google搜索how to install lssl on mac 还是没有找到如何安装呀,请问这个问题我该怎么解决?谢谢

怪我咯怪我咯2728 hari yang lalu854

membalas semua(2)saya akan balas

  • 大家讲道理

    大家讲道理2017-04-18 09:47:51

    Masukkan arahan berikut

    xcode-select --install

    Menyelesaikan masalah ini

    balas
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-18 09:47:51

    Perlu memasang openssl pakej perisian dan perpustakaan yang berkaitan

    balas
    0
  • Batalbalas