3
3
Install und Upgrade
4
4
===================
5
5
6
-
7
6
Preparation
8
7
-----------
9
8
10
9
This package requires Python 3.8 or later.
11
- The package is tested on Linux (using Travis continuous integration).
12
-
13
- Not all of the package's functionality is available for Microsoft Windows.
14
- As some of the multi-core parallelizations rely on forking,
15
- these won't work on Windows.
16
- However, most other parts of the
17
- package should work on Windows
18
- as well.
10
+ The package is continuously tested on Linux, and in parts on iOS,
11
+ via GitHub Actions.
19
12
13
+ While many parts of the package should work on Microsoft Windows
14
+ as well, in particular the multi-core parallelizations rely on forking,
15
+ which won't be available.
16
+ Still, the main development focus is on Linux.
20
17
21
18
My system's Python distribution is outdated, what now?
22
19
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23
20
24
- Several Python distributions can coexist on a single system.
21
+ Several Python distributions can coexist on a system.
25
22
If you don't have access to a recent Python version via your
26
- system's package manager (this might be the case for old
27
- Debian or Ubuntu operating systems),
28
- it is recommended to install the latest version of the
23
+ system's package manager (may be the case for old systems),
24
+ we recommend to install the latest version of the
29
25
`Anaconda Python 3 distribution <https://www.continuum.io/downloads >`_.
30
26
See also: :ref: `anacondaCluster `.
31
27
32
-
33
28
PIP Installation
34
29
----------------
35
30
@@ -40,10 +35,8 @@ The package can be installed via pip.::
40
35
41
36
pip install pyabc
42
37
43
-
44
38
into your system's Python distribution. This requires usually root access.
45
39
46
-
47
40
Install as user into your home directory (recommended)
48
41
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49
42
@@ -56,20 +49,15 @@ home directory with::
56
49
57
50
pip install --user pyabc
58
51
59
-
60
-
61
52
GIT Installation
62
53
----------------
63
54
64
55
If you want the bleeding edge version, install directly from github::
65
56
66
57
pip install git+https://github.com/icb-dcm/pyabc.git
67
58
68
-
69
-
70
59
.. _upgrading :
71
60
72
-
73
61
Upgrading
74
62
---------
75
63
@@ -78,61 +66,36 @@ pyABC version, use::
78
66
79
67
pip install --upgrade pyabc
80
68
81
-
82
69
instead of ``pip install ``.
83
70
You can also consult the `pip documentation <https://pip.pypa.io/en/stable/ >`_
84
71
on how to manage packages.
85
72
If you installed pyABC into your
86
73
home directory with
87
74
``pip install --user pyabc ``, then upgrade also with the ``--user `` flag::
88
75
89
-
90
76
pip install --upgrade --user pyabc
91
77
92
-
93
-
94
-
95
78
.. _anacondaCluster :
96
79
97
80
Installing Anaconda on a Cluster environment
98
81
--------------------------------------------
99
82
100
- We're assuming you're on a Linux environment.
101
- Use the most recent Anaconda Python 3.x distribution.
102
- As of writing this documentation, this is the
103
- `Anaconda Python 3.6 <https://www.continuum.io/downloads >`_ distribution.
104
- To install it, run::
105
-
106
- wget https://repo.continuum.io/archive/Anaconda3-4.4.0-Linux-x86_64.sh
107
-
108
- to download the installer. To execute the installer run::
109
-
110
- bash Anaconda3-4.4.0-Linux-x86_64.sh
111
-
112
- and follow the guided installation process (i.e. approve the license
113
- and tell the installer where to install it to). You might want to replace
114
- the "4.4.0" by the most recent version of Anaconda.
115
- Find out on the `Anaconda Download <https://www.continuum.io/downloads >`_
116
- page which one it is.
117
-
118
-
119
- .. note ::
83
+ To install `Anaconda <https://anaconda.com/products/distribution >`_, run::
120
84
121
- The Anaconda installer asks you at the end of the installation whether
122
- you want to use Anaconda Python as your default Python:: bash
85
+ wget https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh
86
+ bash Anaconda3-2021.11-Linux-x86_64.sh
123
87
124
- Do you wish the installer to prepend the Anaconda3 install location
125
- to PATH in your /home/username/.bashrc ? [yes|no]
126
- [no] >>>
88
+ and follow the installation guide.
89
+ Replace the "2021.11" by the most recent version of Anaconda, see
90
+ https://repo.anaconda.com/archive.
127
91
128
- If you answer yes, the path to the Anaconda installation is prepended to
129
- your ``PATH `` environment variable and subsequent calls to ``pip ``
130
- (see below) use the Anaconda Python pip (check with the command
131
- ``which pip ``).
132
- If you answer no, you need to ensure manually, that the correct Python
133
- installation is used.
134
- Just saying "yes" here might safe you from some difficulties later on.
92
+ `Miniconda <https://docs.conda.io/en/latest/miniconda.html >`_
93
+ provides an alternative, minimal installer for conda, including
94
+ only conda, Python, and some core and useful packages. Install the latest
95
+ version via::
135
96
97
+ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
98
+ bash Miniconda3-latest-Linux-x86_64.sh
136
99
137
100
.. _install-optional :
138
101
0 commit comments