Additional Python packages

Anaconda's Python Distribution comes with many of the packages we need to do scientific computing. If you're interested in all the packages included, click here and go to the Python 3.6 tab.

Howevever, you may come across packages that are not installed by default. In this case we recommend you use the pip package management tool to install them.

Note

If your python 3 was found via python3 --version on the previous page, then type pip3 instead of pip for all of the following python plugins.

First let us update pip by typing the following into the terminal

pip install --upgrade pip

If you get an error, try typing instead:

python -m pip install --upgrade pip

For this course, we will need the package Selenium as part of the web scraping tool kit we will build up. First let us install a depency for it via

pip install msgpack

We then install selenium by entering the following into a terminal:

pip install selenium

pip will then go through and install the package we asked for, and any other dependencies. If this succeeded, the last line it printed out should be:

Successfully installed selenium-3.14.0

More packages

Please also install the following packages:

  • linearmodels