From e48d4822b0c6a04ca0b096911001f87deb3ed601 Mon Sep 17 00:00:00 2001 From: Oguz Ziya Koseomur <34319260+oguzziya@users.noreply.github.com> Date: Wed, 24 Feb 2021 10:44:20 +0100 Subject: [PATCH 1/4] ValueError FAQ --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index a573f674..65108877 100644 --- a/README.md +++ b/README.md @@ -268,6 +268,20 @@ python setup.py install --user ``` +### ValueError while importing preCICE +If you face with an error something like + +```bash +ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject +``` + +make sure that you are using up-to-date version of NumPy. You can update NumPy with + +```bash +pip3 install numpy --upgrade +``` + + # Contributors * [Benjamin RĂ¼th](https://github.com/BenjaminRueth) From dda8c42c31e445c1d5d491cba38fd4a0c0668171 Mon Sep 17 00:00:00 2001 From: Oguz Ziya Koseomur <34319260+oguzziya@users.noreply.github.com> Date: Wed, 24 Feb 2021 12:33:52 +0100 Subject: [PATCH 2/4] Update README.md Co-authored-by: Benjamin Rodenberg --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 65108877..0d62e407 100644 --- a/README.md +++ b/README.md @@ -275,7 +275,7 @@ If you face with an error something like ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject ``` -make sure that you are using up-to-date version of NumPy. You can update NumPy with +make sure that you are using an up-to-date version of NumPy. You can update NumPy with ```bash pip3 install numpy --upgrade From 079656a102904c6789617a33ec81e6f3baca8393 Mon Sep 17 00:00:00 2001 From: Oguz Ziya Koseomur <34319260+oguzziya@users.noreply.github.com> Date: Wed, 24 Feb 2021 12:34:01 +0100 Subject: [PATCH 3/4] Update README.md Co-authored-by: Benjamin Rodenberg --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0d62e407..1804ca3b 100644 --- a/README.md +++ b/README.md @@ -269,7 +269,7 @@ python setup.py install --user ### ValueError while importing preCICE -If you face with an error something like +If you face the error: ```bash ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject From e82a76825cb9cf6d9fee5022b25cbe6cdca8692c Mon Sep 17 00:00:00 2001 From: Oguz Ziya Koseomur <34319260+oguzziya@users.noreply.github.com> Date: Wed, 24 Feb 2021 12:38:48 +0100 Subject: [PATCH 4/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1804ca3b..193a3c54 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Please refer to [precice.org](https://www.precice.org/installation-bindings-pyth We recommend using pip3 (version 19.0.0 or newer required) for the sake of simplicity. You can check your pip3 version via `pip3 --version`. To update pip3, use the following line: ``` -$ pip3 install --upgrade pip +$ pip3 install --user --upgrade pip ``` ## Using pip3