easy_install M2Crypto在Windows平台上失败
发布时间:2020-12-14 02:09:17 所属栏目:Windows 来源:网络整理
导读:我试图在 Windows XP平台上安装M2Crypto.我安装了 Python,easy_install和SWIG,但是当我尝试easy_install M2Crypto时,我得到以下内容: SWIG_m2crypto.i(31) : Error: Unable to find 'opensslopensslv.h'SWIG_m2crypto.i(45) : Error: Unable to find 'op
我试图在
Windows XP平台上安装M2Crypto.我安装了
Python,easy_install和SWIG,但是当我尝试easy_install M2Crypto时,我得到以下内容:
SWIG_m2crypto.i(31) : Error: Unable to find 'opensslopensslv.h' SWIG_m2crypto.i(45) : Error: Unable to find 'opensslsafestack.h' SWIG_evp.i(12) : Error: Unable to find 'opensslopensslconf.h' SWIG_ec.i(7) : Error: Unable to find 'opensslopensslconf.h' error: Setup script exited with error: command 'swig.exe' failed with exit status 1 我在其他地方读过人们建议使用easy_install openssl-devel,但这只是告诉我没有找到包含该名称的软件包.该名称是否区分大小写(我尝试了各种排列而没有成功),或者该建议不适用于Windows? 我不是在寻找M2Crypto的替代品.我正在挑选一些使用它的现有代码,所以我需要让我的开发环境能够运行已经编写的代码. 解决方法
有类似的问题.下载M2Crypto的源包并读取INSTALL文件后,我发现以下内容:
Differences when installing on Windows -------------------------------------- Before building from source,you need to install OpenSSL's include files,import libraries and DLLs. By default setup.py assumes that OpenSSL include files are in ``c:pkgopensslinclude``,and the import libraries in ``c:pkgopenssllib``. As with other platforms,you can specify a different OpenSSL location with --openssl option to build_ext command. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 使用Windows XP,Qt Creator 4.5.2(Windows 32位)进行QT MyS
- windows-7 – 使用代理和远程桌面网关连接到远程桌面?
- windows-server-2008 – 适用于大量打印机的Windows Server
- 如何在Windows Vista命令提示符下检查端口8080?
- windows-7 – 无论如何都要阻止Windows 7在更新后执行强制重
- active-directory – 域管理员登录的警报
- Windows – 远程站点中的工作站不了解新的AD领域
- windows – 按名称批量文件到网络上的MASS ping计算机组,检
- 从Microsoft .net调用单声道c#代码?
- Windows server 2008 R2远程桌面3389端口号修改
推荐文章
站长推荐
- 项目模板中的listview可视状态管理器(WinRT,Metr
- 视频 – 在Windows中使用ffmpeg通过srtp进行流加
- windows-server-2003 – 增加允许的远程桌面连接
- windows7 64位机上配置MinGW+Codeblocks+ wxWidg
- Windows中的FFMPEG for android无法成功编译
- windows-server-2008 – 事件36888:生成以下致命
- Learning OSG programing---Multi Camera in Mul
- Windows防火墙是否能够记录哪个exe被阻止?
- 基于Windows的Web服务器的冗余负载均衡器?
- window.location对象详解
热点阅读