Member-only story
How To Install Python Packages Using Pip (For Beginners)
In this tutorial, we will install the package “spacy”
using pip in Command Prompt.
What is Pip?
Pip is a Python package manager that allows us to install libraries on our PC. Most of the time, Pip is used in the Command Prompt program.
Step-by-Step Tutorial
- Open up cmd and type
pip install spacy
. Then, press “Enter”.
2. Spacy will start the installation
If the package is installed successfully, you should see the keywords “Successfully installed…” in the last line.
But if Cmd started to throw errors, such as the screenshot below:
It could then be that the Python script path has not been set up correctly in your environment. You can refer to this article for the steps to resolve this issue.