I tried different ways of installation of numpy, but the problem that I’m facing is: there is no **numpy **in the list when I call rospack list-names. Even with installed numpy, when I can see its version and location, ROS still cannot find it and gives me error that no such module is found.
Thank you for answers!
tried installing through different envoronments like pip, pipenv and normally (sudo apt …).
Maybe there is some way to show ROS where to find a package?
2
Answers
You cannot see
numpy
as a ROS package because it has no ROS installation procedure at all. Just try to type:If you would see an error, then you need to check
numpy
is installed on your system. Then you do not have to list it in yourpackage.xml
, but you can find the componentPython::NumPy
inCMakeLists.txt
once you have CMake version 3.14 or newer.I think your problem is using python3 with Melodic or other Ros distro which doesn’t work with python3. This command may be solve: