bagpy
bagpy copied to clipboard
Module object is bot callable
I was reading a bag file
import bagpy from bagpy import bagreader
b = bagreader('C:\Users\xxxxxx\PycharmProjects\pythonProject1\Data\bagfile.bag')
and got this error...
Traceback (most recent call last):
File "C:\Users\xxxxx\PycharmProjects\pythonProject1\rosbag.py", line 1, in
@rahulbhadani
i tried like this from bagpy.bagreader import bagreader but it showed the error ''ImportError: cannot import name 'bagreader' from partially initialized module 'bagpy.bagreader' (most likely due to a circular import)''
Stale issue message