Open michaelczhou opened 6 years ago
@michaelczhou , Hi, I have the same problem as you. Did you fix it? Thanks!
@jsdd25 make sure your python's environment is belong to ROS ,my mistake is forgetting to close annoconda. if this can't work ,you can try to reinstall ROS.
@jsdd25 I ran into the same issue because I had multiple python versions installed. This was solved by specifying the right python version to run the code within semantic_cloud.py ros node. Hope that helps
@jsdd25 make sure your python's environment is belong to ROS ,my mistake is forgetting to close annoconda. if this can't work ,you can try to reinstall ROS.
Hi. I have both python2.7 and 3.5. I have tried two ways but both not work for me.
@harnix Sorry. can you tell me more detail about avoiding this error ? I am a little confused about the python environment. Thanks.
For whoever running into the same problem, pls try delete the content of the color_pcl_generator/init.py in the include folder (make it empty .py file)
@AnhTuDo1990 What do you mean by empty? the content of the file or the name of the file?
@all I am using python 3.8, I changed the first line in the semantic_labelling.py to be #!/usr/bin/env python3.8
and I got the following error
ImportError: cannot import name 'PointType' from partially initialized module 'color_pcl_generator' (most likely due to a circular import) (/home/hme/catkin_ws/devel/lib/python3/dist-packages/color_pcl_generator/__init__.py)
did any one solve it?
@reem90 make a init.py file with nothing inside
@michaelczhou I have the same importerror , how did you solve it? I have tried to make an empty init.py, but i didn't work
File "/home/lx/work/semantic_slam-master/slam/src/semantic_cloud/src/semantic_cloud.py", line 22, in
I'm lacking context, but for future reference, I believe the correct file is __init__.py
not init.py
.
Hi: Your job looks like awesome.When I run "roslaunch semantic_slam semantic_mapping.launch",I met some wrong.
Thanks.