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: content/ta/install.md
+18-16Lines changed: 18 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,14 @@ content = '''
24
24
Recommended for new users who want a streamlined workflow.
25
25
26
26
-**uv:** A modern Python package manager designed for speed and simplicity.
27
-
28
-
uv pip install numpy
27
+
```bash
28
+
uv pip install numpy
29
+
```
29
30
30
31
-**pixi:** A cross-platform package manager for Python and other languages.
31
-
32
-
pixi add numpy
32
+
```bash
33
+
pixi add numpy
34
+
```
33
35
34
36
'''
35
37
@@ -46,21 +48,25 @@ The second difference is that pip installs from the Python Packaging Index (PyPI
46
48
The third difference is that conda is an integrated solution for managing packages, dependencies and environments, while with pip you may need another tool (there are many!) for dealing with environments or complex dependencies.
47
49
48
50
-**Conda:** If you use conda, you can install NumPy from the defaults or conda-forge channels:
49
-
50
-
conda create -n my-env
51
-
conda activate my-env
52
-
conda install numpy
51
+
```bash
52
+
conda create -n my-env
53
+
conda activate my-env
54
+
conda install numpy
55
+
```
53
56
-**Pip:**
54
-
55
-
pip install numpy
57
+
```bash
58
+
pip install numpy
59
+
```
56
60
57
61
{{< admonition >}}
58
62
{{< /admonition >}}
59
63
64
+
```bash
60
65
python -m venv my-env
61
66
source my-env/bin/activate # macOS/Linux
62
67
my-env\Scripts\activate # Windows
63
68
pip install numpy
69
+
```
64
70
65
71
'''
66
72
@@ -89,10 +95,7 @@ choco install numpy
89
95
90
96
'''
91
97
92
-
[[tab]]
93
-
name = 'Building from Source'
94
-
content = '''
95
-
For advanced users and developers who want to customize or debug **NumPy**.
98
+
[[tab]] name = 'Building from Source' content = ''' For advanced users and developers who want to customize or debug **NumPy**.
96
99
97
100
A word of warning: building Numpy from source can be a nontrivial exercise.
98
101
We recommend using binaries instead if those are available for your platform via one of the above methods.
@@ -113,8 +116,7 @@ This should print the installed version of NumPy without errors.
113
116
114
117
## Troubleshooting
115
118
116
-
If your installation fails with the message below, see Troubleshooting
117
-
ImportError.
119
+
If your installation fails with the message below, see [Troubleshooting ImportError](https://numpy.org/doc/stable/user/troubleshooting-importerror.html).
118
120
119
121
```
120
122
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
0 commit comments