How to install the version of Jupyter Notebook that includes a debugger - debugging

Or is it JupyterLab that includes a notebook-like function that contains the debuggger? I have Windows 10 and Conda and would like to install this in a new environment.

JupyterLab now ships with a Debugger front-end by default.
See Debugger in JupyterLab documentation.
You can try it in JupyterLab 3.4 by clicking here. When the temporary, remote sessions spins up, open a notebook and click on the bug icon in the upper right side just above the notebook. Toggle open the debug panel by clicking on the larger bug icon on the right side bar.
JupyterLab 3.4 is the latest stable release and so things will look a little different than the documentation.
You can bring the short debugger tutorial notebook into your running session by running the following code in a cell in a notebook:
!curl -o debugger.ipynb https://raw.githubusercontent.com/jupyterlab/debugger/dfd6bf9d51a7a0cd78ca54f4173fcf527bd4d7fd/examples/index.ipynb
The notebook will show up in the file navigator panel on the left side shortly after running that. Double-click on it to work through it.

Related

WSLg QtCreator broken menus and no autocompletion

I'm using WSlg with Ubuntu 18.04 on windows 11 and I've installed on it the Qt Creator IDE. Via the WSLg I can easily launch it through the start menu of windows 11.
The issue is that while coding with it I have no autocompletion (ctrl + space shows no menu). Also the right click menu after a while goes nuts and start showing in weird places of the screen until it disappears completely; same for the menus on the top bar.
I attach a picture where I show how the right click menu shows up out of the boundaries.
Anyone encountered this issue and has a solution?
So for now I have found a workaround even if it's not a proper solution.
I was using QtCreator installed via the online installer that Qt Provides. I tried using the version that comes with apt-get and I do not have those issues. Also the windowing is different because is showing the usual gray boxing of the WSLg apps; so might be related to the XWayland server architecture or something similar.
Cons of this are that the QtCreator version that comes this way is not up to date with the latest and will rely on the qt libs you have installed on your wsl (being ubuntu 18 will be qt5 and not qt6, meaning you'll not have QtCreator 8).
Also right not I'm having issue on the ClangCodeModel but I think it's a different issue.

Anaconda navigator won't launch apps (Windows 10)

Anaconda Navigator (version 2.0.4) sometimes hangs when trying to launch apps (OS is Windows 10). A picture of what it looks like is below -- the status bar at the bottom right keeps going indefinitely without launching an app.
I seem to have this problem when Anaconda is running for a long time or when I put the computer to sleep before launching another app. In the image below, I had worked in Spyder last night, put the computer to sleep overnight, woke up then tried to launch JupyterLab. When I close and reopen Anaconda I am able to launch Spyder then JupyterLab immediately after it with no problem. This makes me suspect it is a problem with the OS.
I'm also having same problem. When i use anaconda for long or hibernate system, it often show not responding. I need to restart my system and it works fine. I thought I'm having problem in my system(Windows 8.1).

Jupyter notebook toolbar issue

I installed Anaconda 5.0.1 with Python 3.6.3, however when I start Jupyter notebook, the toolbar does not show the symbols as shown in the attached picture:
The system is Windows 10, any help is appreciated.
I have the same kind of issue with you.
my OS is Win-10,python version is 3.6/3.5
I click the 'View' button,and choose the 'toolbar',it shows nothing.
I've no idea why.
It turns out something wrong with the OS. The issue is solved after reinstall the OS.

Aptana crashes on Mac OS Sierra

Aptana studio used to work fine on OS X El Capitan but after updating to Sierra it doesn't work anymore... Can anybody help me fix this? I keep getting a crash log every time screenshot uploaded I open the app. Something I've noticed is that the aptana icon in the applications is a folder and not just a normal app icon. Earlier as I remember it was just a normal app icon on El Capitan. I use aptana on a daily basis as a university student so its vital for me for this to work.
Edit: I have tried a lot of methods including reinstalling java but still it doesn't work. Only way to make it work is to open up the application package and open the terminal executable aptana3. It runs perfectly then but if I launch from the usual app drawer icon it crashes.
This security measure can correct it from System Preferences -> Security and Privacy -> General tab.
By default, Sierra, the option “Allow applications downloaded from does not appear Anywhere “. But with a simple instruction from the command line so we can correct.
Go to the folder Applications -> Utilities -> Terminal
In Terminal, enter or copy…
sudo spctl --master-disable
Type your password (it will not appear, however it is present) and press Enter
Click the lock and enter your Administrator password to make changes.
After changing this option, and can install any software, so if compatible with OS 10.12.
Open finder and navigate to "Applications -> Aptana"
Right click on the Aptana executable and click show contents
Navigate to "Content -> MacOS"
Double click click on AptanaStudio3
You will get a popup saying you need legacy Java SE 6
Click "More Info..." button and download and install it (very slow download, just wait it out)
Once installed double click the AptanaStudio icon in step 4 and Aptana Studio 3 will open
You will need to use that as the shortcut as the Aptana icon from installation will still not work.
Good luck.
I have same problem and solved with some workaround.
First download and install java for mac: https://support.apple.com/downloads/DL1572/en_US/javaforosx.dmg
If this not work or you reinstalled aptana after upgrading to sierra I advice to find a old copy of aptana directory and put it to application directory.
I had the same problems on MacOS Sierra; crashing on load, or the JVM error if I launch from within the package contents.
I didn't find any solution to this directly, but instead I installed the latest version of Eclipse first, then installed Aptana from Eclipse. That seems to be working.
In order to use Aptan on El Capitan, first you must install the legacy java 6 version for mac:
https://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US
The only thing is that you won't be able to access it like a normal application on your mac.
To open Aptana you must run:
Applications -> Aptana(right click to "Show package contents") -> Contents -> MacOS -> AptanaStudio3

Network Link Conditioner Freezes and Wont Start

I have downloaded Hardware IO Tools for Xcode 7.1 from the Apple Developer site and installed it by opening the DMG and then double clicking Network Link Conditioner.prefPane.
I then go to my System Preferences and can see the Network Link Conditioner is there. I can go into it but as soon as I click the switch to turn it on the whole System Preferences freezes up. Also, I noticed that my keyboard seems to stop working...somewhat. I can still do cmd + spacebar and then type in there to search my system but I can't type into the URL field on safari for example.
My Mac: OS X Yosemite v10.10.5
My Xcode: v7.2.1 (7C1002)
By the way, I downloaded the 7.1 version of the Hardware IO Tools as they only have a 7.1 or 7.3 version, there doesn't seem to be a version for 7.2. Maybe that is the issue? I can't currently upgrade to 7.3 as that requires me to upgrade OS X to 10.11 but our company policy does not currently allow for that.
Anybody know how I could fix this?
Could this be caused by the fact that I am not an admin on my machine?
My suspicion was correct, it wouldn't start as it needs to be run as an admin.
If you're not an admin, you need to run a command such as
sudo /Applications/System\ Preferences.app/Contents/MacOS/System\ Preferences
or in my case I had to get an admin in the office to do:
su - <admin_username> /Applications/System\ Preferences.app/Contents/MacOS/System\ Preferences
These commands will open the System Preferences as an admin user.
I have noticed that when he Network Link Condition is open in the System Preferences, my keyboard stops working in certain areas still. For example, I couldn't type in here whilst the panel was open (even with it turned off) but as soon as I closed the panel I could type again. I will possibly open another question at a later dare about this though.

Resources