0

How do I install python's modules on sololearn

Help

3rd Mar 2021, 10:21 AM
Muhammad Abdulmalik
Muhammad Abdulmalik - avatar
2 Answers
+ 7
import subprocess, subprocess.run(["pip", "install", " requests", "-q"]) not every module can be installed like gui ones . And all these are only installed for that particular time when the code is ran.
3rd Mar 2021, 10:25 AM
Abhay
Abhay - avatar
0
Abhay thank you so much
3rd Mar 2021, 11:28 AM
Muhammad Abdulmalik
Muhammad Abdulmalik - avatar