> Python Notes

As a general observation, using the overlays to install Python-based packages is preferred as they will tend to resolve dependencies correctly.

Installing your own modules

If you want to install your own modules, do so using venv or virtualenv to keep them separate from the system python modules. Not only will this avoid your modules corrupting the system install, it also means that system updates won't corrupt anything you install.

Alternatively, use pipx.

Matplotlib

Applications using matplotlib to generate graphs will only show the graphical output if tkinter is installed. To do this:

zap install-overlay tcl-tk
zap install tkinter

Index | Previous Section | Next Section


tribblix@gmail.com :: GitHub :: Privacy