logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

python服务器运行报错ImportError: Can‘t connect to HTTPS URL because the SSL module is not available.

正常使用python -u file_name.py 是可以运行的, 但是放到crontab上自动运行就报下面的错。下面是写了个简单的脚本测试了下,如果把https改成http就可以正常运行了。有大佬知道是怎么回事吗?

文章图片
#python#linux#centos
到底了