mac install m2Crypto

mac install m2Crypto

error

SWIG/_m2crypto.i:43: Error: Unable to find ‘openssl/opensslv.h‘
SWIG/_m2crypto.i:49: Error: Unable to find ‘openssl/safestack.h‘
SWIG/_evp.i:12: Error: Unable to find ‘openssl/opensslconf.h‘
SWIG/_rc4.i:5: Error: Unable to find ‘openssl/opensslconf.h‘
SWIG/_ec.i:7: Error: Unable to find ‘openssl/opensslconf.h‘
error: command ‘swig‘ failed with exit status 1

solution

brew install openssl
brew install swig
env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" SWIG_FEATURES="-cpperraswarn -includeall -I$(brew --prefix openssl)/include" pip install m2crypto

原文地址:https://www.cnblogs.com/fzw-/p/8280900.html

时间: 2024-10-03 08:13:12

mac install m2Crypto的相关文章

react native mac install

Mac上使用react native tips: 1. 安装Homebrew ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2. 安装nvm 和 node nvm: curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash export NVM_

mac install brew

最近刚把开发平台从windows迁移到Mac,发现有些东西也是需要根据自己需要安装的,所以搜了下,发现网上各路大神推荐brew,看完介绍,感觉不错,搞起安装(这里说下心得,在Mac app store中有很多常用的软件都找不到,例如大名鼎鼎的eclipse,sublime text等,其实是个人想的太狭隘了,以为在Mac上的安装的软件都是要从app store中下载,其实不然,有网友这样说:在Mac app store中发布软件不是不要钱的,开发者需要花一年几百块去开发软件的,当然,你可以光是开

mac install: /usr/bin/unrar: Operation not permitted

按照教程mac下解压缩rar文件工具-rarosx(免费),在mac上安装rar,在执行命令 sudo install -c -o $USER unrar /bin 出现错误:install: /bin/rar: Operation not permitted 解决办法:mac 系统一般没有权利修改/bin和/usr/bin目录的,故把上面命令中的/bin改为/usr/local/bin即可.

mac install wget

没有Wget的日子是非常难过的,强大的Mac OS 下安装Wget非常简单 下载一个Wget的源码包,http://www.gnu.org/software/wget/ ftp下载地址:ftp://ftp.gnu.org/gnu/wget/ 打开终端解压, 1 输入:tar zxvf wget-1.10.1.tar.gz 2 cd 进入到解压的目录 3 输入:./configure 4 输入:make 5 输入:sudo make install 输入密码 OK 安装完成! 可以输入wget w

mac install PyQt5

1. install brew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2. install python3 brew install python3 brew info python3python3 -V 3. install sip & pyqt5 pip3 install sip pip3 install pyqt

mac install telnet

问题: -bash: telnet: command not found -bash: brew: command not found 解决: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install telnet 参考: brew: command not found 转:https://blog.csdn.net/u0

mac install azure-cli

安装 CLI 时,可以先更新 brew 存储库信息,然后运行 install 命令: brew update && brew install azure-cli 更新: brew update && brew upgrade azure-cli 卸载: brew uninstall azure-cli 原文地址:https://www.cnblogs.com/jerryqi/p/11781276.html

install Django in mac

install Eclipse & Python(pydev) in mac install django in mac $ curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.1.tar.gz $ cd virtualenv-1.10.1/ $ sudo python setup.py install $ virtualenv python2-workspace $ cd python2-wo

mac上 go-delve 安装出现The specified item could not be found in the keychain 解决方法

安装go语言的编译环境,在安装到 delve时候出现如下错误: If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/go-delve/homebrew-delve/issues These open issues may also help: Upgrade to delve fails https://github.com/go-delve/homebr