A.1 Tips for maintaining Python environments#
Here we present some useful tips for maintaining and/or updating Python environments. Note that we introduced how to install Python and to create the Python environment for this book in Chapter 1.7.
Tips and tricks for working with Python installations and managing the conda environments.
Here, we introduce a few good practices, terminology and approaches to ensure that installing Python libraries is a smooth experience.
When installing Python and specific libraries for it, we recommend to create a
When updating a library, if you face issues, it’s often better to re-create the whole environment from scracth.
Use configuration files to document and keep track of your packages installed in the virtual environment.