This is an archived version of the course. Please find the latest version of the course on the main webpage.

Chapter 5: Summary

Summary

face Josiah Wang

In this short lesson, we looked at how you can install external Python packages on your machine with pip. I also discussed how you can use a requirements.txt file to help others (and yourself) install the required packages to run your code consistently across different machines.

I also discussed how you can manage different package installations via virtual environments, by keeping the installations isolated per project. Python officially recommends that you use the venv module that comes with Python.

Finally, I gave a quick introduction to Jupyter notebooks which might be useful for your quick AI/ML experiments and prototyping. There is also JupyterLab which is basically an IDE for Jupyter notebooks.

Hopefully you managed to get something out of this lesson, especially as you start using more external packages in your other courses/research!