diff options
| author | joaopfg <jfontesgoncalves@gmail.com> | 2022-07-07 23:14:23 +0200 |
|---|---|---|
| committer | joaopfg <jfontesgoncalves@gmail.com> | 2022-07-07 23:14:23 +0200 |
| commit | 1e98d60a1e68f94bdfe4eaedd6229f25b7554a74 (patch) | |
| tree | a3dbbe5a30a4570265038da00748d06e18367c5c | |
| parent | c94e84162a996d11415ce1a7add0d5e700ff9c6f (diff) | |
| download | numpy-1e98d60a1e68f94bdfe4eaedd6229f25b7554a74.tar.gz | |
Adding docs about the C-API incompatibility error and pointing to the docs in the error
| -rw-r--r-- | numpy/core/code_generators/generate_numpy_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/code_generators/generate_numpy_api.py b/numpy/core/code_generators/generate_numpy_api.py index a0887c923..8411ffb88 100644 --- a/numpy/core/code_generators/generate_numpy_api.py +++ b/numpy/core/code_generators/generate_numpy_api.py @@ -80,7 +80,7 @@ _import_array(void) PyErr_Format(PyExc_RuntimeError, "module compiled against "\ "API version 0x%%x but this version of numpy is 0x%%x ."\ "Check the section C-API incompatibility at the Troubleshooting ImportError section at "\ - "https://numpy.org/devdocs/user/troubleshooting-importerror.html#troubleshooting-importerror "\ + "https://numpy.org/devdocs/user/troubleshooting-importerror.html#c-api-incompatibility "\ "for indications on how to solve this problem .", \ (int) NPY_FEATURE_VERSION, (int) PyArray_GetNDArrayCFeatureVersion()); return -1; |
