There was a problem confirming the ssl certificate: Can’t connect to HTTPS URL because the SSL module is not available.
原因:依赖没有安装完全。
解决办法:
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev wget