Page 1 of 1

Jupyter Notebook - widgets

Posted: Fri Mar 09, 2018 8:26 pm
by Ste_Trat
Hi,

Just started to test jupyter and its applications, and realized that the example widgets are not working. None of them.

Anyone else with this problem ?

Re: Jupyter Notebook - widgets

Posted: Mon Mar 12, 2018 8:40 am
by amike88
They work for me,

can you give us more details, which OS are you using, what errors / warning do you see, etc.

Re: Jupyter Notebook - widgets

Posted: Mon Mar 12, 2018 10:02 pm
by Ste_Trat
RP OS 0.97-336 / STEM 14

After running the first line of code:

Code: Select all

from redpitaya.app import generator
app = generator.generator()
i get this
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-3-aeb39ddeb9b5> in <module>()
----> 1 from redpitaya.app import generator
2 app = generator.generator()

ImportError: No module named 'redpitaya'

this is true for every widget:
- generator widget / oscilloscope widget

the rest of the notebooks work fine

whats the problem ?

Re: Jupyter Notebook - widgets

Posted: Tue Mar 13, 2018 9:00 am
by amike88
Not sure what exactly the problem is, as the error is not very descriptive.

However I'd guess that one of your files is corrupted. I'd suggest that you try to rewrite the SD card as described here .

It may also be beneficial if you take a new SD card.

Re: Jupyter Notebook - widgets

Posted: Tue Mar 13, 2018 12:18 pm
by Ste_Trat
Thank you,

Just started with a new OS 0.98 and now it works.

Re: Jupyter Notebook - widgets

Posted: Tue Mar 13, 2018 12:45 pm
by amike88
glad to hear it :)