Skip to content

Commit c99ec98

Browse files
docs: add note for import error related to numpy2 release (#350)
* add note for import error related to numpy2 release Signed-off-by: ymski <114902604+ymski@users.noreply.github.com> * ci(pre-commit): autofix * docs: add update command Signed-off-by: ymski <114902604+ymski@users.noreply.github.com> * docs: fix style Signed-off-by: ymski <114902604+ymski@users.noreply.github.com> * update style Signed-off-by: ymski <114902604+ymski@users.noreply.github.com> * ci(pre-commit): autofix --------- Signed-off-by: ymski <114902604+ymski@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent e0b8822 commit c99ec98

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/faq/faq.md

+15
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,21 @@ ros2 caret check_caret_rclcpp <path-to-workspace>
2525
CARET CLI tool doesn't work properly in Anaconda environment. Please use pure Python.
2626
<prettier-ignore-end>
2727

28+
### Import error caused by numpy2
29+
30+
With the release of numpy2, the following warnings may occur depending on the environment.
31+
32+
> A module that was compiled using NumPy 1.x cannot be run in
33+
> NumPy 2.0.1 as it may crash. To support both 1.x and 2.x
34+
> versions of NumPy, modules must be compiled with NumPy 2.0.
35+
> Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
36+
37+
To use caret, it is sufficient to update packages using numpy. The packages can be updated by the following command.
38+
39+
```bash
40+
pip3 install -U numexpr bottleneck matplotlib
41+
```
42+
2843
## Recording
2944

3045
### LTTng session doesn't start after `ros2 caret record`

0 commit comments

Comments
 (0)