-
Notifications
You must be signed in to change notification settings - Fork 28
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
Preload custom wheels in pyodide kernel #96
Comments
Closing as a duplicate of #48. At present, the only semi-automated way to achieve a
Some ways forward: |
@bollwyvl Thanks for the hints - I'll give it a try. I saw/read the other issue and even tried xeus which indeed solved my initial problem but then left me with other issues like requests that did not work. |
I'm curious about this. requests should work with jupyterlite-xeus and xeus-python. If you have an issue with it please open an issue on https://github.com/jupyterlite/xeus so we can discuss it :) |
I tried |
Problem
I have a custom local wheel that I can make available by moving it into a top level
pypi
folder. Then I can successfully run%pip install mypkg
. I was wondering if there is a way to pre-load / pre-install custom wheels like it is done with some packages when I open a new notebook. Essentially I'd like to avoid the install step and just do animport mypkg
.Proposed Solution
Not a complete solution but as far as I can see it works this way with the packages included in pyodide. They live in
output_dir/static/pyodide
folder in my build. Maybe custom packages could be included there as well?I built jupyterlite with
--pyodide https://github.com/pyodide/pyodide/releases/download/0.26.0a3/pyodide-0.26.0a3.tar.bz2
P.S.: Great and very useful project!
The text was updated successfully, but these errors were encountered: