Hi,
I have updated to JupyterLab, but I would like to keep the same color coding for functions and variables as in the previous version.
In v.3, functions were green and variables black, so they were visually easy to distinguish both while coding and when teaching coding.
In v.4, both functions and variables are black, thus indistinguishable.
How can I change the settings so that I go back to the color coding in v.3 while using v.4?
Thank you very much for your help!
Serena
Which exact version are you running @sbonaretti? The highlighting for built-in functions and keywords was reimplemented in JupyterLab v4.1.3. It was backported to v4.0 too but there has not been a release on 4.0.x yet, but it will available in 4.0.14.
Hi @krassowski,
Thank you so much for this quick and positive answer!
I am running v. 4.0.11 from Anaconda.
I have tried to install JupyterLab with pip3 on my MacOS Sonoma 14.2.1 with M1, but I was not successful. The installation does not provide any error, but when I launch jupyter lab
from terminal, I get this error:
JupyterLab Error JupyterLab application assets not found in "/opt/homebrew/Cellar/python@3.11/3.11.9/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab" Please run
jupyter lab build or use a different app directory
I have tried out several things from various blogs, but I could not make it work. In case you know any post in JupyterLab Discourse that solves this issue, would you point me to that? I would love to solve this issue!
Thank you very much for your kind help!!!
Hi,
I could find the solution to my problem. Writing it here in case somebody needs it.
- I had Homebrew installed, which might have been part of the problem. So I deleted it by running this line in terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
- Installed
JupyterLab
:
pip3 install jupyter lab
- Added
JupyterLab
to my paths:
open .zshrc
In the opened file I wrote:export PATH=$PATH:~/Library/Python/3.9/bin
(the path was in the warnings during the installation ofJupyterLab
) - Closed everything and restarted