Python3.8.6在Ubuntu找不到ssl模块

2021-01-28  本文已影响0人  Analyas

有可能是你依赖库没装,先安装依赖库,再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

上一篇下一篇

猜你喜欢

热点阅读