python - 如何在 Windows 上安装 M2crypto

标签 python windows openssl swig m2crypto

installing OpenSSL 之后, 下载 pre-built Swig executable ,并确保 openssl libraries are located in the default c:\pkgpip install m2crypto 结果:

...
C:\Program Files (x86)\gfortran\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\Pyth
on27\include -IC:\Python27\PC -Ic:\pkg\include -Ic:\users\evbo\appdata\local\tem
p\pip_build_evbo\m2crypto\SWIG -c SWIG/_m2crypto_wrap.c -o build\temp.win32-2.7\
Release\swig\_m2crypto_wrap.o -DTHREADING

gcc: error: unrecognized command line option '-mno-cygwin'

error: command 'gcc' failed with exit status 1

似乎binary installer solution for M2crypto不再可用,我没有看到我根据 M2crypto install doc 犯的任何错误.

我该如何解决这个安装问题?是否依赖于旧版本的 GCC?

最佳答案

关于python - 如何在 Windows 上安装 M2crypto,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25110774/

相关文章:

windows - 某些 NPM 安装失败并显示 EPERM 50(Gulp 和其他)

c# - 将元数据存储在文件 : Any standard approach on modern Windows? 之外

java - BouncyCaSTLe 是如何生成 ECDH "Keys"的?

c - openssl/bio.h : No such file or directory error

ubuntu - 如何在 ubuntu 上保护自签名证书?

python - 为什么 .index 只会选择第一次使用的重复词

python - 从 Python :3. 7 基本镜像 docker 容器中运行 azure iotc.connect() 时,会引发无效 URL 错误

c++ - 使用 MinGW 4.9.2 构建 glew 2.0.0 时出现 Cmake 错误

c# - OtpSharp 无法与 google 身份验证器配合使用

python - Tornado with_timeout 正确用法