Skip to content
Snippets Groups Projects
Commit e3b2395b authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

more details on pyenv vs matplotlib

parent 5212947a
No related branches found
No related tags found
1 merge request!2344more details on pyenv vs matplotlib
Pipeline #128656 passed
......@@ -13,13 +13,22 @@ cause inconsistencies and break the system. Therefore, distributions at
some point (e.g. Debian 12) disabled Pip, which terminates with
`error: externally-managed-environment`. While this behavior can be
overridden by a special flag, we advise against.
#### Python in pyenv
Rather, we recommend escaping from Python version hell by using the
Python version manager [pyenv](https://github.com/pyenv/pyenv).
Install the venerable GUI toolkit Tk (e.g. Debian package tk-dev).
#### Requirements
To provide a backend for the Python plotting module matplotlib,
install the GUI toolkit Tk before installing pyenv (otherwise,
you will need to rerun `pyenv install <version>`).
| Distribution | Package |
| ------------ | ------- |
| Debian | tk-dev |
| Redhat | tk-devel |
| Archlinux | Tk |
#### Python in pyenv
Prepare the shell by adding
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment