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.

fylim
Apr 16, 2023

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

  1. Open up cmd and type pip install spacy. Then, press “Enter”.
Image by author

2. Spacy will start the installation

Image by author

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:

Image by author

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.

--

--

fylim
fylim

Written by fylim

is passionate about transforming texts into data points #NaturalLanguageProcessing https://www.linkedin.com/in/feng-yueh-lim-bb5910106/

No responses yet