鹏鹏的博客

额嗯嗯嗯...博文写不写?随缘



Python3操蛋踩坑日志

找不到 _ssl

手动下载编译安装openssl,修改python源码目录/Moudule/Setup中ssl的配置,添加openssl的位置

找不到 _bz2

sudo apt install libbz2-dev,重新编译安装python

找不到 _lzma

sudo apt install liblzma-dev,重新编译安装python

找不到 chromedriver

sudo apt install chromedriver

bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?

sudo pip3 install lxml