You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/installation.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,33 @@ Strongly recommended; although this project is still in beta state.
10
10
pip install moldrug
11
11
```
12
12
13
+
````{admonition} Linux 🐧
14
+
:class: Tip
15
+
16
+
Recent Linux distributions require creation of virtual environment before calling `pip`.
17
+
Additionally the default Python might be too new for Moldrug. Python 3.12 is not yet supported (see pull requests [#9](https://github.com/ale94mleon/moldrug/pull/9) and [#10](https://github.com/ale94mleon/moldrug/pull/10)).
18
+
19
+
For example on Ubuntu 24.04 LTS, one needs to perform following steps
20
+
21
+
1. Get older Python
22
+
```sh
23
+
sudo add-apt-repository ppa:deadsnakes/ppa
24
+
sudo apt update
25
+
sudo apt install python3.11-venv
26
+
```
27
+
2. Create a virtual environment
28
+
```sh
29
+
python3.11 -m venv .venv
30
+
source .venv/bin/activate
31
+
```
32
+
3. Only then call `pip`
33
+
```sh
34
+
pip install moldrug
35
+
```
36
+
37
+
The other Linux distributions might require installation of older Python and creation of virtual environment as well.
38
+
````
39
+
13
40
## Getting the development version
14
41
15
42
```bash
@@ -85,3 +112,10 @@ To perform docking you must provide `boxcenter` (`center` for AutoDock-Vina) and
85
112
- Visit the [moldrug's Docker container](https://hub.docker.com/r/ale94mleon/4moldrug).
86
113
87
114
Finally, `pip install moldrug` inside the container.
0 commit comments