certbot提示错误no module named _cffi_backend

背景:ubuntu OS 自带的python是3.8, 因为业务需要又自行安装了3.9,两者并存并把3.9设置为了默认版本。此时运行certbot报错

解决办法:sudo update-alternatives --config python3 切换成OS自带的3.8版