Installing the packages
As is always the case with Python libraries that are built on C and other non-Python code, installing is very platform-dependent. On most platforms, thanks to binary wheels, we can simply do:
$ pip3 install <package>
For this and the next chapter, however, I would recommend an alternative solution instead. While some of the libraries, such as numpy
, are easy to install on most platforms, some of the other libraries are more challenging. For this reason, I would recommend the use of either the Anaconda distribution or one of the Jupyter Docker Stacks.
The Jupyter Docker Stacks require you to have Docker working on your system, but if you do, it can be extremely easy to launch very complicated systems that would be near impossible to set up otherwise. The list of available stacks can be found here: https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html#core-stacks.
A good starting point for this chapter is the jupyter...