I'm trying to run the line:
r = requests.get('https://api.twitch.tv/helix/streams?user_login='+CHAN[1:], headers=headers)
but am getting the following error:
Can't connect to HTTPS URL because the SSL module is not available
Now here's where things get confusing. I can run this same exact line in Visual Studio 2019
on my computer, no problem. I can run this same exact line no problem on online compilers, no problem. But when I try to run this in the game Assetto Corsa
I get this error.
Why will this run on my computer but not in a game that runs on my computer? How do I solve it? Is there a python SSL module I can manually install in my game folder maybe?
Side Notes that Might Help:
- Assetto Corsa runs Python 3.3
- The code is contained in is in post 15 of the following link: https://www.racedepartment.com/threads/twitch-chat.129584/