Ok, this is my first post.
I've been working on building a dashboard for my students, to let them work with economic models interactively. I've used JupyterLab for years and have some experience with ipywidgets. Recently while looking for a way to make my code shareable I ran into Voila, which seems like an excellent way to dashboard directly from a notebook.
Here's the problem I'm running into: I have widgets running just fine in JupyterLab but when I render them with Voila (both the extension and from the cli) the widgets do not appear. I tried using a few other packages: ipyleaflet does not appear either, but plotly and pandas printouts do.
I haven't been able to find similar cases so any help would be appreciated.
And for context, I'm running the latest version of JupyterLab on Zorin OS, and have reproduced the issue in Chrome and Firefox, with both Jupyter Lab and Notebook.
Related
I have installed pycharm. I have installed python version 2022.
I need to know how to connect Pycharm with Python. I am new in this, so not sure.
Once I opened Pycharm I saw already that my project was showing in Pycharm. It prompted me to select trust. I trusted the content and it was showing me the selection for 2 versions of Python. I was not sure if that is the way to connect, or is there another way to connect ?
Software info:
Windows 11. When strange scenarios occurs, I did NOT used with VM (virtual machine). But I have created some VM boxes.
Hardware info:
a figure illustrates my currently used device
Here is a figure illustrates my currently used device.
I use notebook with MSI.
Occur in the app:
Spyder which is a subset of Anaconda Navigator.
Issue:
[a figure to my strange scenarios]
(https://i.stack.imgur.com/6JQfz.jpg)
I first met this issue.
I met strange scenarios in anaconda, in Spyder --
I saw a console named history.py and I could NOT create a new console.
Can anyone tell me why?
Any replies to the solution will be grateful.
Things I have tried (respectively).
1.I have tried to restart the Spyder and Anaconda Navigator.
2.Then I have tried to restart my notebook.
Browse some posts at issue tracker of Anaconda Navigator.
https://github.com/ContinuumIO/anaconda-issues/issues
But the issue is NOT solved yet.
I ensure why it happens.
There were crashes which are caused by the infinite recursive call at runtime.
When I ran the code, it also crashed.
The issue is solved although I don't know why the issue occurred.
Suggested by the website:
https://github.com/ContinuumIO/anaconda-issues/issues/5193
I used the following command in Anaconda Prompt:
spyder --reset
And it was successful:
Then I restarted Spyder, and the issue disappeared:
I created a virtual machine on Azure Machine Learning and I'm running a simple jupyter notebook. I would like to install the jupyter extensions since I really need the collapsible titles but it seem it isn't working. I tried with pip install and it's already installed but the menu does not appear...
There are some good JupyterLab extensions out there, and if you want to use them in AML Compute Instances JupyterLab. Foremost the Table of Contents extension which can be a great help with larger notebooks.
I'm relatively new to using python have used pygame as a place to better understand how everything comes together.
I recently upgraded my laptop form a 2012 Macbook to the 2019.
Just wondering why the games I made on my 2012 are running soo much slower on my 2019 macbook. Managing packages with conda.
I don't know much but I suspect it may have to do with either
The comp resolution upgrade (which I'm doubtful)
method of installation of pygame
Initially, I Downloaded python3 with homebrew and then installed pygame (pygame would show a blank screen)
I then installed conda and managed packages through it.
I doubt it has to do with the way I have written it, I'm sure it's quite inefficient but I was achieving fps's of 60 for the same code.
If someone could guide me to where to find out more information It would be greatly appreciated.
Cheers.
This seems to be a problem with how MacOS run Pygame. While your game is running, right-click it's icon in the Dock and select Show in Finder. Then in the Folder that shows up, you will see the Python Interpreter executable. Right-click it and click Get Info, and under General check the Open in Low Resolution.
Now your game should run fine. And no, Pygame's resolution will not be "Low".
I resolved this issue by launching pygame in fullscreen. More of a workaround but a solution nonetheless.
Also if you do choose to do this be sure to create a key to exit the screen otherwise you'll need to restart your computer.
on the Jupiter Project Homepage(http://jupyter.org) there is a screenshot of a very minimal Browser running Jupyter. Does anyone know how this is achieved? It reminds me of Mathematica notebooks and I like it for there is no unnecessary browser address bar etc. This would be extremely helpful on my laptop. I tried the qtconsole but it lacks the web-based interface.
Thanks in advance!