Why does automatic installation of packages sometimes fail?
PySimpleGUI (15)

This problem seems to come and go, and it also varies across my different projects, despite the EXACT same import statement is used.

[Almost] ALL of my repl's begin with:
import PySimpleGUI as sg

Usually, or for long stretches of time, repl.it installs the package for me just fine. Other times it complains "PySimpleGUI package not found".

I don't understand why this keeps happening and why it's so intermittent that it would work for 1 project but not another in the same account.

PLEASE help! I love using repl.it to provide quick demonstrations for Reddit responses. It allows me to post code that uses my package without the people examining the code needing to install anything. Repl.it a BRILLIANT piece of work!!!!


You are viewing a single comment. View All
PySimpleGUI (15)

@ash15khng Sometimes. Sometimes it does it automatically, sometimes you must manually install which creates the requirements.txt file. A project either does it or it doesn't. I've not been able to "fix" one that's broken.