Using osm_cartography
Hello I am new to ROS. I want to visualise the data from OpenStreetMaps on Rviz. For that I have downloaded the .osm file. When I use the command
roslaunch osm_cartography viz_osm.launch
I am getting error,
Traceback (most recent call last):
File "/home/pallav/catkin_ws2/src/open_street_map/osm_cartography/scripts/viz_osm", line 50, in <module>
import geodesy.utm
File "/home/pallav/catkin_ws2/src/geographic_info-master/geodesy/src/geodesy/utm.py", line 52, in <module>
import pyproj
ImportError: No module named pyproj
What should I do? Thanks in advance.
Asked by pallyra1 on 2018-01-19 15:32:10 UTC
Answers
Just to add to @johnbryant 's comment:
To install pyproj
with apt use this command:
sudo apt install python-pyproj
Asked by Roberto Z. on 2021-04-26 10:16:31 UTC
Comments
Hello!
I already had pyproj installed and had this error. I tried sudo apt install --reinstall pyproj
but I still have the same error. I am using ROS Melodic with Python 2.7.17 and 3.6.9 . Can someone please tell me what I'm missing? Any help would be appreciated. Thanks!
Asked by Amrita Suresh on 2021-11-30 05:35:25 UTC
Comments
I actually solved this problem, you just need to install the pyproj and then the package works perfectly fine.
Asked by johnbryant on 2018-08-23 06:31:57 UTC