-
Notifications
You must be signed in to change notification settings - Fork 11
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
Cannot import ipywidgets from notebook #41
Comments
Could you explain to me your setup? i.e. are you using a standalone version of FSLeyes, or have you installed it into a pip/conda environment? And did you open a notebook from within FSLeyes, or did you start FSLeyes from within an existing notebook? (both are possible :) ) |
Sure. I am using the standalone on MacOS. |
Right ... well I'm not entirely sure why Can I suggest that you install FSLeyes into your environment via pip, rather than using a standalone version? In this way, the FSLeyes notebook environment will have access to the python environment that you installed it into. It should be quite straightforward to install FSLeyes via pip, if you are comfortable working with virtualenvs. Alternately, you can install FSLeyes into a conda environment. It would be really hacky to accomplish this with a standalone FSLeyes, as the standalone builds use their own python interpreter, so don't directly have access to any libraries installed in any external python environment. |
What version of ipykernel do you have? This may be due to a bug which was fixed late last year. |
OK that seems to have fixed it!! thx! |
Thanks for the awesome work on the notebook integration!
I previously used it to directly jump to certain locations via a dropdown via
ipywidgets
. Unfortunately, v0.32.0 does not seem to support that anymore:Any chance to get that back in? It would in general be awesome if I could import all my pip-installed python libraries.
The text was updated successfully, but these errors were encountered: