亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

mac執行下面命令時報錯,是缺少什么包?

mac執行下面命令時報錯,是缺少什么包?

長風秋雁 2018-10-24 21:18:35
mac執行下面命令時報錯,缺少什么包pip install MySQL-pythoncc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.13-intel-2.7/_mysql.o -L/usr/local/Cellar/mysql/5.7.19/lib -lmysqlclient -lssl -lcrypto -o build/lib.macosx-10.13-intel-2.7/_mysql.so 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答案已經找到env LDFLAGS='-I/usr/local/opt/openssl/include/opensll -L/usr/local/opt/openssl/lib' pip install MySQL-python
查看完整描述

1 回答

?
翻閱古今

TA貢獻1780條經驗 獲得超5個贊

如果你裝有 homebrew 的話,可以直接安裝下 openssl brew install openssl

或者自己下載 openssl 的源代碼編譯安裝


查看完整回答
反對 回復 2018-10-24
  • 1 回答
  • 0 關注
  • 667 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號