jupyter-ros icon indicating copy to clipboard operation
jupyter-ros copied to clipboard

Unable to import ros3d from jupyros

Open ChengTszYin opened this issue 2 years ago • 5 comments

I was runing from jupyros import ros3d and get error "ImportError: cannot import name 'ros3d' from 'jupyros'"


ImportError Traceback (most recent call last) Cell In[4], line 1 ----> 1 from jupyros import ros3d 2 import rospy

ImportError: cannot import name 'ros3d' from 'jupyros' (/Users/chengtszyin/Desktop/new_ws/jupyter-ros/jupyros/init.py)

Please help. THANK YOU

ChengTszYin avatar Mar 16 '23 17:03 ChengTszYin

Hi @ChengTszYin

Could you try from jupyros.ros1 import ros3d ?

If that doesn't work, could you tell me which version of jupyros you have installed? Thanks!

IsabelParedes avatar Mar 18 '23 21:03 IsabelParedes

螢幕截圖 2023-03-22 上午2 51 19 It seems that the `from jupyros.ros1 import ros3d` works but I do not see any 3d mapping shown. Do I miss other package? thank you

ChengTszYin avatar Mar 21 '23 18:03 ChengTszYin

Hi @ChengTszYin,

Unfortunately, sidecar is not compatible with Jupyter Notebook. I would suggest not using sidecar or better yet, switch to JupyterLab so that sidecar can work. Let me know if that helps.

IsabelParedes avatar Mar 22 '23 10:03 IsabelParedes

Thanks I will give a try

ChengTszYin avatar Mar 23 '23 07:03 ChengTszYin

I am also encountering an issue where the 3D viewer is not displaying. Below is a screenshot showing the code and outputs:
image

Here are the versions of the relevant packages I am using:

jupyros == 0.6.1 
notebook == 6.4.13
jupyterlab == 4.0.9
ipywidgets == 7.8.1
notebook == 6.4.13

SailorBrandon avatar Nov 23 '23 09:11 SailorBrandon