import json
import requests as r
from bs4 import BeautifulSoup
from datetime import date
import html5lib
SSL module is not available
The problem is that Anaconda Python ships with its own SSL libraries and does not use the system SSL libraries when compiling the Python ssl module. The mod_ssl module in Apache is using the system libraries.
<--------->
The only solution is to use the system Python version and not Anaconda Python
Unless you have a specific requirement, is better to use the system Python version and not Anaconda Python.