+ 2

How to install Python libraries?

11th Jul 2020, 12:36 PM
Apurv Dhadankar
Apurv Dhadankar - avatar
18 Respuestas
+ 4
go in your terminal or cmd and type: pip --version this will check if you have pip. If it doesnt say anythings missing type: pip install <your_choice_library> #like: pip install requests
11th Jul 2020, 12:43 PM
Slick
Slick - avatar
+ 1
Thanks
11th Jul 2020, 12:45 PM
Apurv Dhadankar
Apurv Dhadankar - avatar
+ 1
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 You can hide warnings of pip upgrade
11th Jul 2020, 2:54 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
+ 1
Thanks
11th Jul 2020, 3:03 PM
Apurv Dhadankar
Apurv Dhadankar - avatar
+ 1
First you have to cheak your pip version by this command in your python terminal or cmd pip -- version to download library:- pip install <any module> example: pip install pygame
12th Jul 2020, 5:43 AM
vineet Kumar
vineet Kumar - avatar
+ 1
Go to terminal or powershell and type :- pip install "your package"
13th Jul 2020, 2:37 AM
Sarvajith N
Sarvajith N - avatar
+ 1
I do pip3 install ... It makes clear, that the install is for python3. I hate it, if the librays start to mix. My programms, in ex Firefox still using Python2 code. But I use v3 to coding. All manual pip installs are only for Python3. Maybe think for your self, if you need a virtual enviroment for a project. All librarys are containered and do not cause conflicts.
13th Jul 2020, 6:14 AM
Sven_m
Sven_m - avatar
+ 1
In Windows,open command prompt and type this py -m pip install pygame In Ubuntu open terminal and type like this Pip install pygame In both cases,U can write the name of module instead of pygame
13th Jul 2020, 9:21 AM
HARIKA IRUVURU
HARIKA IRUVURU - avatar
0
𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 this is to just disable pip upgrade check and not to update it
11th Jul 2020, 3:07 PM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar
0
when you download python it will download
12th Jul 2020, 3:31 AM
Jeremy Cheung
Jeremy Cheung - avatar
0
Using pip installer pip --version If it is preinstalled , it will display the version! To download library : pip install library_name
12th Jul 2020, 9:41 AM
Nikita
Nikita - avatar