[Python] Python cannot find SSL Module in Game but in computer can find no problem

Discussão em 'Python' iniciado por Stack, Janeiro 25, 2025.

  1. Stack

    Stack Membro Participativo

    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:


    Continue reading...

Compartilhe esta Página