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

jupytercad Python API not available from jupytercad's JupyterLite deployment #650

Open
nthiery opened this issue Dec 10, 2024 · 4 comments

Comments

@nthiery
Copy link

nthiery commented Dec 10, 2024

How to reproduce

  1. Click on the try lite now badge https://github.com/jupytercad/JupyterCAD
  2. Create an empty Python3 notebook
  3. Create a cell containing import jupytercad

This produces:

ModuleNotFoundError: No module named 'jupytercad'

Expected: jupytercad being imported to start having fun with it.

@martinRenou
Copy link
Member

Thanks for opening an issue!

This is a known issue unfortunately, we can only have this once there is collaboration support in JupyterLite.

In JupyterLite only the JupyterCAD file viewer is available for now.

@martinRenou martinRenou changed the title jupytercad not available from jupytercad's JupyterLite deployment jupytercad Python API not available from jupytercad's JupyterLite deployment Dec 10, 2024
@martinRenou
Copy link
Member

Note that there was a package bringing collaboration support in JupyterLite https://github.com/jupyterlite/jupyterlab-webrtc-docprovider, we would need to revive this effort.

@SylvainCorlay
Copy link
Member

@martinRenou we also discussed using a service worker mimicking the websocket provider.

@nthiery
Copy link
Author

nthiery commented Dec 10, 2024

Oh, I see. It's fine. I just did not expect that when seeing a "try in lite now". Suggestion: add a brief README.md file which is open by default in JupyterLite, stating that the python API is not available yet there, but that one can click on the files to view them.

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

No branches or pull requests

3 participants