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

Fails to display widget in development installation #69

Open
smahn9123 opened this issue Oct 20, 2022 · 1 comment
Open

Fails to display widget in development installation #69

smahn9123 opened this issue Oct 20, 2022 · 1 comment

Comments

@smahn9123
Copy link

smahn9123 commented Oct 20, 2022

Hello, I followed the steps provided for dev installation, bud widget fails in display

$ git clone https://github.com/QuantStack/ipytree.git
$ cd ipytree
$ pip install -e .
$ jupyter nbextension install --py --symlink --sys-prefix ipytree
$ jupyter nbextension enable --py --sys-prefix ipytree

The error log says:

Failed to load model class 'TreeModel' from module 'ipytree'
Error: No version of module ipytree is registered

Could you have any idea what the problem is?
I am on Windows 10, and have use Anacoda to set up the env. Using jupyter lab.

image

@martinRenou
Copy link
Collaborator

Using jupyter lab

If you are using JupyterLab, you don't need to run any nbextension command.

Instead you will need to run jupyter labextension develop . --overwrite from the root of the ipytree repo.

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

2 participants