在OS X上安装libssl-dev,libffi-dev?


1

我尝试使用命令 brew install libssl-dev libffi-dev 但这对我不起作用。

有谁知道如何在Mac上安装它?

Answers:


-1

您可以尝试使用MacPorts:

port install libffi

port install openssl

然后,您可以使用以下命

port contents libname

如果Python希望在其他地方找到lib,请使用符号链接,例如:

ln -s /usr/local/lib/libssl.1.0.0.dylib /usr/lib/... [expected location, cf errors msg]
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.