How to download and install Python Packages and Modules with Pip

sentdex · 1.1M views · 2015 · 8:32

Open on YouTube

Python, Ruby & scripting languagesEducation & learningtutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering or asking beginner questions about getting pip to work and installing third-party packages like selenium or pandas.

Recommended by 2 people across 2 different months, 2015 to 2021.

What it is

A short sentdex tutorial from 2015 showing how to download and install Python packages and modules using pip, the package manager bundled with newer Python versions. It walks through basic pip usage on the command line for beginners.

What people said

Recommends aris-t · 2020-11 · Stack Overflow · on “How to keep CMD open and run commands on it using python?”

So my first thought is you really need to look into Anacoda, the base install comes with most things like pandas and numpy so you may need nothing more if it's just base packages your using. See if this video is what your looking for, [this video]

Recommends profesorek96 · 2021-04 · Stack Overflow · on “Cant install any package from pip”

pip - It is abbreviation Python install Package. This is a package manager, use to install and manage package for Python. This command pip install selenium , you should write in your CLI. [this video] If you use a Pycharm: [LINK]

Cites jovan lipovatz · 2015-07 · Stack Overflow · on “NLTK Trainer: Cannot get Scikit-Learn classifiers to work”

I am using Python 2.7 and the awesome tool created by Jacob Perkins called NLTK Trainer. I have successfully used the NaiveBayes classifier, but when I try and use the various scikit-learn classifiers it throws up error messages. Please help. Here is my code and the associated error message. C:\WINDOWS\system32>C:\Python27\python C:\Users\ned\Desktop\nltk-trainer-master \train_classifier.py --instances files --fraction 0.75 --no-pickle --min_score 2 --ngrams 1 2 3 --show-most-informative 10 movie_reviews --classifier sklearn.Mu ltinomialNB training sklearn.MultinomialNB classifier C:\Python27\lib\site-packages\numpy\core\fromnumeric.py:2499: VisibleDeprecation Warning: `rank` is deprecated;

Cites AKP · 2017-03 · Stack Overflow · on “error installing panda on my windows 8”

I followed a description for an online video ( [this video] ) and I got this feedback its showing that numpy-1.9.2+mkl-cp34-none-win_amd64.whl is not a supported on this platform what to do?

Cites Noctsol · 2018-03 · Stack Overflow · on “Selenium explicit waits (importing folder)”

Well, I'm going to try to answer with some assumptions. I assume that you are new like me and had no concept of pip install. Generally, if you are new, you think of downloading and pressing an exe. file to install something. You probably (I did) tried something like this and installed it incorrectly. Pip install tends to be very consistent and avoid making this an issue. I find this to be a general benign issue with the coding community if you're brand new. There's just so many concepts that are taken for granted that explanation to beginners tends to be not so great. You have to be very specific and give a lot of context and your own thought processes to even type the right question. Here a

Cites Adam · 2018-05 · Stack Overflow · on “I can't get pip to run in cmd for python even though I extracted it and downloaded it. How do I run it so it doesn't get any errors?”

This is the error I keep getting in command prompt: 'pip' is not recognized as an internal or external command, I get this error when I run something in cmd that looks like this: pip install matplotlib, or pip install requests, ... I did everything in this tutorial ( [LINK] ) and ( [this video] ), but I still can't get it. Can anybody help?