运行python 脚本遇到如下问题:ModuleNotFoundError: No module named 'gnupg'
Traceback (most recent call last):
File "/home/ubuntu/Dataset/20220702_morning_JingKun-velodyne32/rosbag2video.py", line 16, in <module>
import rosbag
File "/opt/ros/melodic/lib/python2.7/dist-packages/rosbag/__init__.py", line 33, in <module>
from .bag import Bag, Compression, ROSBagException, ROSBagFormatException, ROSBagUnindexedException
File "/opt/ros/melodic/lib/python2.7/dist-packages/rosbag/bag.py", line 56, in <module>
import gnupg
ModuleNotFoundError: No module named 'gnupg'
直接安装对应的 Module:
pip install gnupg