-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name 'PointType' from partially initialized module 'color_pcl_generator' #39
Comments
I have tried to set semantic_slam/semantic_cloud/include/color_pcl_generator/init.py to empty, but it doesn't work. |
I think I found some key problems. Is it because this project cannot be run in the python3 environment? |
Hi setuptools>=41.0.0 just note than if you don't have gpu on your PC use " tensorflow==1.13.1 " instead. $ pip install filename.txt This will solve your problem.You don't need to modify any source files of the project... |
I have the same issue. I am using python3 and my rosdistro is noetic.
to
I think that using python2 and older ros version may not have this issue. Otherwise it might be that you forget to deactivate the conda environment which is shown in issue 5: Python environment's problem |
I try to use this command: roslaunch semantic_slam semantic_mapping.launch
And I got some trouble here.
ImportError: cannot import name 'PointType' from partially initialized module 'color_pcl_generator' (most likely due to a circular import) (/home/bie/ros_ws/Sem_SLAM/devel/lib/python3/dist-packages/color_pcl_generator/init.py)
[semantic_cloud-2] process has died [pid 18524, exit code 1, cmd /home/bie/ros_ws/Sem_SLAM/src/semantic_slam/semantic_cloud/src/semantic_cloud.py __name:=semantic_cloud __log:=/home/bie/.ros/log/d5a89544-7cc5-11eb-a228-244bfecec228/semantic_cloud-2.log].
log file: /home/bie/.ros/log/d5a89544-7cc5-11eb-a228-244bfecec228/semantic_cloud-2*.log
A circular import ?
I'm using python3.8, does it matter?
The text was updated successfully, but these errors were encountered: