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

Compatability with ipywidgets 7.5 #3

Open
jiver54 opened this issue Jan 12, 2020 · 4 comments
Open

Compatability with ipywidgets 7.5 #3

jiver54 opened this issue Jan 12, 2020 · 4 comments

Comments

@jiver54
Copy link

jiver54 commented Jan 12, 2020

I have upgraded ipywidgets from 7.4 to 7.5 ... (I wanted the fileupload widget!..) When I use "jupyter_clickable_image_widget" it throws an error "Error displaying widget: model not found"

So I am guessing 7.5 widgets breaks it...

I am using the NVIDIA Jetson Nano..

@Lunran
Copy link

Lunran commented Apr 30, 2020

I guess you were trying to run interactive_regression.ipynb in jetracer or jetbot.
(Well, I was indeed and encountered the same error..)

If so, the cause doesn't seem to be the version of ipywidgets because the error persisted after downgrading it from 7.5.1 to 7.4.2.

It actually worked to install "no_typescript" branch of jupyter_clickable_image_widget by executing the following commands. (ref. https://github.com/NVIDIA-AI-IOT/jetcard/blob/jetpack_4.3/install.sh)

cd
sudo apt-get install nodejs-dev node-gyp libssl1.0-dev
sudo apt-get install npm
git clone https://github.com/jaybdub/jupyter_clickable_image_widget
cd jupyter_clickable_image_widget
git checkout no_typescript
sudo pip3 install -e .
sudo jupyter labextension install js
sudo jupyter lab build

hope this will work for you, too.

@tomMEM
Copy link

tomMEM commented Jul 10, 2020

Thanks: the installation sequence led to a functional widget that allows to run jetracer scripts on an jetbot image installation.
I had to remove the previously cloned directory, and run the above sequence. After restart and call of jupyter, jupyter rebuild itself, somehow did twice.
So far the jetbot image allows to run Dlinano, jetbot and jetracer scripts with little additional installations. Thanks.

@sanviiz
Copy link

sanviiz commented Aug 26, 2020

I guess you were trying to run interactive_regression.ipynb in jetracer or jetbot.
(Well, I was indeed and encountered the same error..)

If so, the cause doesn't seem to be the version of ipywidgets because the error persisted after downgrading it from 7.5.1 to 7.4.2.

It actually worked to install "no_typescript" branch of jupyter_clickable_image_widget by executing the following commands. (ref. https://github.com/NVIDIA-AI-IOT/jetcard/blob/jetpack_4.3/install.sh)

cd
sudo apt-get install nodejs-dev node-gyp libssl1.0-dev
sudo apt-get install npm
git clone https://github.com/jaybdub/jupyter_clickable_image_widget
cd jupyter_clickable_image_widget
git checkout no_typescript
sudo pip3 install -e .
sudo jupyter labextension install js
sudo jupyter lab build

hope this will work for you, too.

I tried in Jetbot but it doesn't work with
ipywidgets==7.5.1 and jupyterlab==2.2.6

@fengye
Copy link

fengye commented Jun 25, 2021

I guess you were trying to run interactive_regression.ipynb in jetracer or jetbot.
(Well, I was indeed and encountered the same error..)

If so, the cause doesn't seem to be the version of ipywidgets because the error persisted after downgrading it from 7.5.1 to 7.4.2.

It actually worked to install "no_typescript" branch of jupyter_clickable_image_widget by executing the following commands. (ref. https://github.com/NVIDIA-AI-IOT/jetcard/blob/jetpack_4.3/install.sh)

cd
sudo apt-get install nodejs-dev node-gyp libssl1.0-dev
sudo apt-get install npm
git clone https://github.com/jaybdub/jupyter_clickable_image_widget
cd jupyter_clickable_image_widget
git checkout no_typescript
sudo pip3 install -e .
sudo jupyter labextension install js
sudo jupyter lab build

hope this will work for you, too.

The snippet from the install script of jetcard Jetpack 4.5.1 branch works for me, turns out now it need to updated to v0.1 :

git clone https://github.com/jaybdub/jupyter_clickable_image_widget
cd jupyter_clickable_image_widget
git checkout tags/v0.1
sudo -H pip3 install -e .
sudo jupyter labextension install js
sudo jupyter lab build

Thanks for the direction.

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

5 participants