Let's get started by installing and setting up spaCy. spaCy is compatible with 64-bit Python 2.7 and 3.5+, and can run on Unix/Linux, macOS/OS X, and Windows. CPython is a reference implementation of Python in C. If Python is already present on the system, most probably the CPython modules are fine too—hence we don't need to worry about this detail. The newest spaCy releases are always downloadable via pip and conda. pip and conda are two of the most popular distribution packages.

pip is the most painless choice as it installs all the dependencies, so let's start with it.

Installing spaCy with pip

We can install spaCy by running the following command in the terminal:

Get hands-on with 1400+ tech skills courses.