Skip to content
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

Unable to import ros3d from jupyros #153

Open
ChengTszYin opened this issue Mar 16, 2023 · 5 comments
Open

Unable to import ros3d from jupyros #153

ChengTszYin opened this issue Mar 16, 2023 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@ChengTszYin
Copy link

ChengTszYin commented Mar 16, 2023

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 ChengTszYin changed the title Unable to import jupyros Unable to import ros3d from jupyros Mar 17, 2023
@IsabelParedes IsabelParedes self-assigned this Mar 18, 2023
@IsabelParedes
Copy link
Collaborator

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 IsabelParedes added the question Further information is requested label Mar 18, 2023
@ChengTszYin
Copy link
Author

螢幕截圖 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

@IsabelParedes
Copy link
Collaborator

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.

@ChengTszYin
Copy link
Author

Thanks I will give a try

@SailorBrandon
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants