Skip to content

Commit 2ee535e

Browse files
sebergmattip
andauthored
DOC: Apply Mattis suggestions
Co-authored-by: Matti Picus <[email protected]>
1 parent 0bd7a14 commit 2ee535e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/source/user/troubleshooting-importerror.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,11 @@ There can be various reason for the incompatibility:
185185
* You have recently upgraded NumPy, most likely to NumPy 2, and the other
186186
module now also needs to be upgraded. (NumPy 2 was released in June 2024.)
187187

188-
* Especially if you have version constraints on some packages, ``pip`` may
189-
have found incompatible versions when installing.
188+
* You have version constraints and ``pip`` may
189+
have installed a combination of incompatible packages.
190190

191-
* Manual forced versions or setup steps, such as copying a compiled extension
192-
to another computer with a different NumPy version.
191+
* You have compiled locally or have copied a compiled extension from
192+
elsewhere (which is, in general, a bad idea).
193193

194194
The best solution will usually be to upgrade the failing package:
195195

@@ -216,7 +216,6 @@ not yet exist or cannot be installed for other reasons. In that case:
216216
* Add additional version pins to the failing package to help ``pip``
217217
resolve compatible versions of NumPy and the package.
218218

219-
* Investigate how the packages got installed and why incompatibilities arose.
220219

221220

222221
Segfaults or crashes

0 commit comments

Comments
 (0)