A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/teticio/nbextension-gotoerror below:

teticio/nbextension-gotoerror: Clicking on filenames in the stack trace opens up the relevant source file.

Goto Error notebook extension

Clicking on filenames in the stack trace opens up the relevant source file.

(This is the Classic Jupyter Notebook extension - for JupyterLab or Notebook 7, please use jupyter-stack-trace)

Clone the repo:

git clone git://github.com/teticio/nbextension-gotoerror

Install the extension:

jupyter nbextension install nbextension-gotoerror --user

Enable the extension:

jupyter nbextension enable nbextension-gotoerror/main

As the Jupyter server is only able to access files in the directory in which it is run or a subdirectory, for the notebook to be able to open the source files it is necessary to provide a soft link to the source file directory. For example, if you don't use virtual environments, make soft link in the Jupyter launch directory to the site-packages directory of your Python instalation (e.g. ~/lib/python3.6/site-packages) and call this site-packages. Then set the prefix parameter in the nbextension configuration to ~/lib/python3.6.

If you do use virtual environments, then point the soft link to the envs directory and set the prefix parameter accordingly.

To make a soft link in Linux:

ln -s ~/.local/lib/python3.6/site-packages site-packages

To make a soft link in Windows:

mklink -d envs C:\users\teticio\Anaconda\python\envs


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4