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

JupyterLite Support #119

Closed
MRYingLEE opened this issue Apr 25, 2023 · 3 comments
Closed

JupyterLite Support #119

MRYingLEE opened this issue Apr 25, 2023 · 3 comments
Labels
enhancement New feature or request @jupyter-ai/magics
Milestone

Comments

@MRYingLEE
Copy link

An %%ai magic works anywhere the IPython kernel runs (JupyterLab, Jupyter Notebook, Google Colab, VSCode, etc.).

Problem

So I tried JupyterLite. In the running of "%pip install jupyter_ai_magics", I met

"ValueError: Can't find a pure Python 3 wheel for 'sqlalchemy<2,>=1'."

Proposed Solution

I understand JupyterLite is a special version.
If in theory, Jupyter-ai cannot work in it, please declare the limitation. If possible, but it takes time, please put JupyterLite support on your to-do list.

Thanks,

@MRYingLEE MRYingLEE added the enhancement New feature or request label Apr 25, 2023
@welcome
Copy link

welcome bot commented Apr 25, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@jtpio
Copy link
Member

jtpio commented Apr 25, 2023

Thanks @MRYingLEE for the suggestion.

The jupyter-ai-magics seems to be defining some dependencies here:

dependencies = [
"ipython",
"pydantic",
"importlib_metadata~=5.2.0",
"langchain~=0.0.144"
]

Likely one of them depends on sqlalchemy which triggers the issue.

Not sure the package needs all these dependencies to work properly. Ideally it could support some of them as optional dependencies so it could indeed be used (maybe partially) in the browser via JupyterLite.

@jtpio
Copy link
Member

jtpio commented Jun 11, 2024

Closing in favor of the new #822, which seems to have more comments now, to consolidate the discussion.

@jtpio jtpio closed this as completed Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request @jupyter-ai/magics
Projects
None yet
Development

No branches or pull requests

3 participants