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's 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 version of Python and not Anaconda Python
Unless you have a specific requirement, is better to use the system version of Python and not Anaconda Python.
Find more questions by tags Python