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

[fixdoc] webdoc: pyenv requires Tk ()

Merging branch 'fixdoc'  into 'r21'.

See merge request !1889
parents 23700242 2b84bb9f
No related branches found
No related tags found
2 merge requests!1891From21,!1889webdoc: pyenv requires Tk
Pipeline #109521 passed
...@@ -14,9 +14,13 @@ some point (e.g. Debian 12) disabled Pip, which terminates with ...@@ -14,9 +14,13 @@ some point (e.g. Debian 12) disabled Pip, which terminates with
`error: externally-managed-environment`. While this behavior can be `error: externally-managed-environment`. While this behavior can be
overridden by a special flag, we advise against. overridden by a special flag, we advise against.
#### Python in pyenv
Rather, we recommend escaping from Python version hell by using the Rather, we recommend escaping from Python version hell by using the
Python version manager [pyenv](https://github.com/pyenv/pyenv). Python version manager [pyenv](https://github.com/pyenv/pyenv).
Install the venerable GUI toolkit Tk (e.g. Debian package tk-dev).
Prepare the shell by adding Prepare the shell by adding
``` ```
export PYENV_ROOT="$HOME/.pyenv" export PYENV_ROOT="$HOME/.pyenv"
......
...@@ -19,6 +19,7 @@ Furthermore, a small number of fit script examples require the Python modules ...@@ -19,6 +19,7 @@ Furthermore, a small number of fit script examples require the Python modules
* lmfit * lmfit
* scipy * scipy
* tqdm * tqdm
These are not required for _installing_ and _running_ most of BornAgain. These are not required for _installing_ and _running_ most of BornAgain.
However, they should be present when _building_ BornAgain However, they should be present when _building_ BornAgain
lest some tests will fail. lest some tests will fail.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment