Installing M2Crypto on CentOS

前端 未结 5 753
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-14 12:07

I am trying to install M2Crypto on CentOS by compiling from the source. i am doing a python setup.py build But I get the following error,

/usr/local/lib/python         


        
5条回答
  •  花落未央
    2021-02-14 12:39

    The following should work:

    env SWIG_FEATURES="-cpperraswarn -includeall -D__`uname -m`__ -I/usr/include/openssl" python setup.py build
    

    Edit: and openssl-devel package is of course also required.

提交回复
热议问题