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
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
Copy file name to clipboardExpand all lines: docs/source/tutorial/tutorial_part2.md
+20-2Lines changed: 20 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,18 @@ To manually install EvoX:
59
59
pip install "evox[neuroevolution]"# Neuroevolution support
60
60
```
61
61
62
+
63
+
````{note}
64
+
Some packages may require additional system dependencies. If this is the case, the installer will prompt you with a message like the following:
65
+
66
+
```console
67
+
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
68
+
```
69
+
70
+
When you encounter such messages, follow the provided instructions to install the necessary dependencies before proceeding.
71
+
````
72
+
73
+
62
74
### Installation on Linux
63
75
64
76
Installing EvoX on Linux (e.g., Ubuntu) is straightforward and mostly handled via `pip`.
@@ -72,7 +84,13 @@ On WSL, **do not** install NVIDIA drivers inside the Linux subsystem—install t
72
84
```
73
85
74
86
```{tip}
75
-
It's very likely that you only need to install the driver, but do NOT need to install CUDA or other dependencies. Those libraries are already included in the PyTorch installation via pip.
87
+
It's very likely that you only need to install the driver, but do NOT need to install CUDA or other dependencies.
88
+
Those libraries are already included in the PyTorch installation via pip.
89
+
```
90
+
91
+
```{tip}
92
+
The required driver version depends on your hardware. If you have a recent NVIDIA GPU, using the latest driver version is often the best choice.
93
+
To ensure better compatibility and access to the latest drivers, it's generally a good idea to use a newer Linux distribution (e.g., Ubuntu 25.04 instead of 22.04).
76
94
```
77
95
78
96
1.**Install PyTorch**: As on Windows, install based on hardware. Refer to the [PyTorch official guide](https://pytorch.org).
@@ -96,7 +114,7 @@ It's very likely that you only need to install the driver, but do NOT need to in
96
114
For AMD GPU users or those seeking environment isolation, Docker is recommended. For example, using the official PyTorch Docker image with ROCm:
97
115
98
116
```bash
99
-
docker run -it --gpus all --shm-size=8g pytorch/pytorch:rocm5.4_ubuntu20.04
117
+
docker run -it --gpus all --shm-size=8g rocm/pytorch:latest
100
118
```
101
119
102
120
Inside the container, install EvoX as usual using `pip`.
0 commit comments