Skip to content

Commit cc18bde

Browse files
authored
Merge pull request #24 from AlexReimann/patch-2
Add fix for ModuleNotFoundError in README
2 parents 942dcf4 + 68a519b commit cc18bde

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,21 @@ For the plane segmentation node
222222
roslaunch convex_plane_decomposition_ros convex_plane_decomposition.launch
223223
```
224224

225+
#### Errors
226+
If you build with the install flag under ros melodic, you might get issues with the modules not found:
227+
228+
```bash
229+
terminate called after throwing an instance of 'pybind11::error_already_set'
230+
what(): ModuleNotFoundError: No module named 'elevation_mapping_cupy'
231+
```
232+
This is because python3 modules are installed into a different location.
233+
234+
This can be fixed by including also the python3 modules location in the `PYTHONPATH` by adding following line into the launch file:
235+
236+
```xml
237+
<env name="PYTHONPATH" value="<path_to_your_install>/lib/python3/dist-packages:$(env PYTHONPATH)" />
238+
```
239+
225240
### Run TurtleBot example
226241

227242
First, install turtlebot simulation.

0 commit comments

Comments
 (0)