Installing python modules

An important way to work with python is to exploit modules written by other people.

This requires that:

  • The module can be installed on the computer.

  • The installation of the new module does not break installed libraries

  • The functions provided by the module can be checked

In this page I discuss the installation of a python library called pulp.

If you installed python using anaconda then I recommend following the instructions on this page, which uses conda.

If you use python not installed via conda, then you can use pip to instal the pulp library. See the instructions here.


Sometimes there are many version of python available on your machine. I have had problems when I install a module into python version 3.7 If you are running python using the spyder editor, then the following instructions may be useful.