+ 2

HOW TO USE PIP COMMAND IN SOLO LEARN PYTHON

Plz tell me that how to use Pip function in solo learn py

15th May 2020, 3:32 AM
Aditya Rathi
Aditya Rathi - avatar
4 Respostas
+ 1
you can use it by using os.system() for example to install "requests" module, which is not installed by default. import os os.system("pip install requests") import requests req = requests.get('https://wikipedia.org/index.html') print(req.text)
15th May 2020, 4:15 AM
Bahhaⵣ
Bahhaⵣ - avatar
+ 1
Oky
15th May 2020, 3:45 AM
Aditya Rathi
Aditya Rathi - avatar
- 1
Use search bar before asking questions; it results in duplicate questions.. https://www.sololearn.com/Discuss/1927882/?ref=app
15th May 2020, 3:37 AM
Ayush Dwivedi
Ayush Dwivedi - avatar
- 1
No we can't use pip command here . Sololearn is not interactive
15th May 2020, 3:44 AM
Ayush Kumar
Ayush Kumar - avatar