美文网首页
Python3.8.6在Ubuntu找不到ssl模块

Python3.8.6在Ubuntu找不到ssl模块

作者: Analyas | 来源:发表于2021-01-28 14:45 被阅读0次

    有可能是你依赖库没装,先安装依赖库,再make, make install,下面依赖库已经过测试,先临时记录,之后再补充完整

    apt-get -y install build-essential zlib1g-dev libbz2-dev liblzma-dev libncurses5-dev libreadline6-dev libsqlite3-dev libssl-dev libgdbm-dev liblzma-dev lzma lzma-dev libgdbm-dev libgdbm-compat-dev  tcl8.6-dev tk8.6-dev
    

    文章参考地址

    1.https://stackoverflow.com/questions/32779768/python-build-from-source-cannot-build-optional-module-sqlite3
    2.https://gist.github.com/Nesffer/5fb3d6d4cd3e0cb65624

    相关文章

      网友评论

          本文标题:Python3.8.6在Ubuntu找不到ssl模块

          本文链接:https://www.haomeiwen.com/subject/filwzhtx.html