1、Linux安裝openssl、openssl-devel
2、修改/usr/local/lib/python2.7/config/Setup文件
打開以下幾行的注釋
_socket socketmodule.c timemodule.c
_ssl _ssl.c \
-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
-L$(SSL)/lib -lssl -lcrypto
3、重新編譯安裝
make&&make install
1、Linux安裝openssl、openssl-devel
2、修改/usr/local/lib/python2.7/config/Setup文件
打開以下幾行的注釋
_socket socketmodule.c timemodule.c
_ssl _ssl.c \
-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
-L$(SSL)/lib -lssl -lcrypto
3、重新編譯安裝
make&&make install
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。