Closed n0Oo0Oo0b closed 1 year ago
Automatically installing packages for the user with
os.system
should be avoided, as commands likepip install -r requirements.txt
aren't guaranteed to work all the time (e.g. if there is more than one version of python installed orpip
isn't in PATH). Just therequirements.txt
file is enough to indicate the dependancies and you should tell the user how to install them instead of doing it for them.
Yes, I'll remove that in next commit, thanks for your kind reminder!
Automatically installing packages for the user with
os.system
should be avoided, as commands likepip install -r requirements.txt
aren't guaranteed to work all the time (e.g. if there is more than one version of python installed orpip
isn't in PATH). Just therequirements.txt
file is enough to indicate the dependancies and you should tell the user how to install them instead of doing it for them.