+ 2
HOW TO USE PIP COMMAND IN SOLO LEARN PYTHON
Plz tell me that how to use Pip function in solo learn py
4 Answers
+ 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)
+ 1
Oky
- 1
Use search bar before asking questions; it results in duplicate questions..
https://www.sololearn.com/Discuss/1927882/?ref=app
- 1
No we can't use pip command here . Sololearn is not interactive