+ 8

How to install the third party libraries in python?

16th Sep 2018, 12:12 PM
Aanisha Bhattacharyya
Aanisha Bhattacharyya - avatar
6 Réponses
+ 6
the easiest way is to download and install pip. Then go to your command line and type in pip install libraryName Edit: If it doesn’t work, then you will have to go online and find the file you want to install, download it, and go to your command line and type cd filePath python -m setup.py build python -m setup.py install and after that you can delete the file on your conputer
16th Sep 2018, 7:34 PM
Ching Chang
Ching Chang - avatar
16th Sep 2018, 3:37 PM
Aanisha Bhattacharyya
Aanisha Bhattacharyya - avatar
+ 3
use 'pip install'
16th Sep 2018, 3:21 PM
Jens-Emil Sønderup Müller
Jens-Emil Sønderup Müller - avatar
+ 2
Also if you're running on a Linux system you need to run the command as a superuser
18th Sep 2018, 8:17 AM
Jens-Emil Sønderup Müller
Jens-Emil Sønderup Müller - avatar
+ 1
go to command prompt and type pip and see if that command is recognised, make sure your antivirus is not blocking it, also make sure pip is installed. if you installed latest python from official source it should be installed, if you feel pip is installed and still pip command dosent work, try pip3 instead, if it still dosent work, you might have to add pip to your environment variables, in windows.
18th Sep 2018, 1:05 AM
Mayank
Mayank - avatar
0
pip install
29th Sep 2018, 2:25 PM
Devo
Devo - avatar