How to use pip on replit? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to use pip on replit?

Python ide

10th Jul 2021, 10:40 AM
Atul Mohabe
Atul Mohabe - avatar
7 Answers
+ 2
If its just an ide (meaning NOT a virtual enviornment like anaconda or spyder) then you can just go to your command prompt and type "pip --version" to make sure it's installed and then "pip install <whatever>" to download libraries.
10th Jul 2021, 10:47 AM
Slick
Slick - avatar
+ 2
Yup sir I'm a beginner. Thonny looks promising, I will let you know when it will be set up.
10th Jul 2021, 11:06 AM
Atul Mohabe
Atul Mohabe - avatar
+ 2
on replit you dont have to run any pip commands. just type in the import statement and upon running it will download the required libraries
11th Jul 2021, 9:02 AM
JBuster
+ 1
It's already installed but still I can't use it on replit.
10th Jul 2021, 10:50 AM
Atul Mohabe
Atul Mohabe - avatar
+ 1
What does replit run on? Usually you need to supply an ide with a version of python (that you already downloaded). Meaning the ide just makes it easier to write and display code, BUT an external python interpreter handles the execution of the code. That external interpreter (unless you have different ones) will be the interpreter your computer uses when you run code in the command line. So if you install libraries through the command line, it should work in the IDE
10th Jul 2021, 10:53 AM
Slick
Slick - avatar
+ 1
Can you suggest me some good ide?
10th Jul 2021, 10:58 AM
Atul Mohabe
Atul Mohabe - avatar
+ 1
You sound like you're just starting out, you'll hear a lot mention "pycharm". Don't do it, it's pretty advanced. Start off with IDLE (the ide that comes w/ python) or something simple like Thonny
10th Jul 2021, 10:59 AM
Slick
Slick - avatar