我已经安装了OpenSSL 1.0.2 。
$ openssl version
OpenSSL 1.0.2n 7 Dec 2017
按照建议导出编译器标志。
before_install:
- export PATH="/usr/local/opt/openssl/bin:$PATH"
- export LDFLAGS="$LDFLAGS -L/usr/local/opt/openssl/lib"
- export CPPFLAGS="$CPPFLAGS -I/usr/local/opt/openssl/include"
仍然, Python只看到OpenSSL 0.9.8 。
$ python -c 'import ssl; print ssl.OPENSSL_VERSION;'
OpenSSL 0.9.8zh 14 Jan 2016
所以稍后,当我尝试运行this Python脚本时,它会说:
ERROR: Your Python's OpenSSL library is outdated (OpenSSL 0.9.8zh 14 Jan 2016).
如何在Python中修复OpenSSL参考?
我尝试了很多东西:https://github.com/eppz/Unity.Test.eppz/commits/master/.travis.yml
答案 0 :(得分:1)
使用unit
代替The member 'abstractMethod : unit -> unit' is specialized with 'unit'
but 'unit' can't be used as return type of an abstract method
parameterized on return type.
来运行脚本。
您可以尝试这个简单的python2
版本检查:
python