easy_install M2Crypto failing on Windows platform

前端 未结 2 1074
感情败类
感情败类 2021-02-11 00:01

I am attempting to install M2Crypto on a Windows XP platform. I have Python, easy_install and SWIG installed, but when I attempt to easy_install M2Crypto I get the

2条回答
  •  南旧
    南旧 (楼主)
    2021-02-11 00:44

    Had a similar problem. After downloading the source package of M2Crypto and reading the INSTALL file I found the following:

    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:\pkg\openssl\include``, and the import libraries 
    in ``c:\pkg\openssl\lib``. As with other platforms, you can specify a different
    OpenSSL location with --openssl option to build_ext command.
    

提交回复
热议问题