Python2.7编译失败 Failed to build these modules:_curses_panel _hashlib _ssl

1:*** WARNING: renaming "_ssl" since importing it failed: libssl.so.1.0.0: cannot open shared object file: No such file or directory

Failed to build these modules:
_curses_panel      _hashlib           _ssl  

解决方法:下载openssl,重新编译即可

export LD_LIBRARY_PATH=/usr/local/ssl/lib/:$LD_LIBRARY_PATH ; ldconfig

posted @ 2018-03-21 19:39  二虎  阅读(2407)  评论(0编辑  收藏  举报