Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
e3b2395b
Commit
e3b2395b
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
more details on pyenv vs matplotlib
parent
5212947a
No related branches found
No related tags found
1 merge request
!2344
more details on pyenv vs matplotlib
Pipeline
#128656
passed
1 year ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hugo/content/installation/py/linux.md
+13
-4
13 additions, 4 deletions
hugo/content/installation/py/linux.md
with
13 additions
and
4 deletions
hugo/content/installation/py/linux.md
+
13
−
4
View file @
e3b2395b
...
...
@@ -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
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment