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
90c4a526
Commit
90c4a526
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
doc dev/pyenv improve layout
parent
60b86c1c
No related branches found
No related tags found
1 merge request
!2182
doc/dev describe tool for detecting unused code (#759)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hugo/content/dev/pyenv.md
+8
-5
8 additions, 5 deletions
hugo/content/dev/pyenv.md
with
8 additions
and
5 deletions
hugo/content/dev/pyenv.md
+
8
−
5
View file @
90c4a526
...
...
@@ -3,15 +3,18 @@ title = "Pyenv"
weight = 80
+++
## pyenv
[
Pyenv
](
https://github.com/pyenv/pyenv
)
is a platform to install and manage
different versions of Python, isolated from the default Python version.
Its advantage compared to the other options, like Anaconda, is its simplicity and smallness.
Currently, to build BornAgain libraries for different versions of Python,
we use the
`pyenv`
platform.
# Install
ing `pyenv` platform
###
# Install
ation
#### Linux
####
#
Linux
Obtain the installer from
<https://github.com/pyenv/pyenv-installer>
.
To install
`pyenv`
, use
...
...
@@ -29,7 +32,7 @@ libbz2-dev libreadline-dev libsqlite3-dev curl \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
```
#### MacOS
####
#
MacOS
Install
`pyenv`
via
`homebrew`
:
```
...
...
@@ -39,7 +42,7 @@ brew install pyenv
The rest of the
`pyenv`
instructions are like those for Linux.
#### Windows
####
#
Windows
On MS-Windows,
[
pyenv-win
](
https://github.com/pyenv-win
)
should be used.
...
...
@@ -54,7 +57,7 @@ echo %PYENV_ROOT%
```
#### Using
`
pyenv
`
#### Using pyenv
**Obtain a list of available Python versions**
```
...
...
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