jupyterlab-desktop: Setting a custom Python environment does not work on first launch
Description
I’m running JupyterLab 3.3.4-2 for the first time and trying to re-use my existing Python 3.10 environment installed via Homebrew but after selecting the Python interpreter and selecting Apply and restart, the dialog simply re-appears.
When starting JupyterLab, this dialog is shown:

There, I select the Python binary from my Python 3.10 installation with jupyterlab
3.4.4 installed and select Apply and restart. JupyterLab closes and re-opens and displays the same dialog again. The message stays the same:
Failed to find a compatible Python environment at the configured path “/Users/michi/Library/jupyterlab-desktop/jlab_server/bin/python”.
So maybe the configured path doesn’t get saved before re-opening the application?
Context
I’m running macOS 12.4 on an Apple M1 Mac. I’ve installed Python with the usual brew install python@3.10
and brew link python@3.10
. I’m using a custom Homebrew prefix to workaround an issue in Homebrew.
michi ~$ brew --prefix
/Users/michi/opt/homebrew
michi ~$ sw_vers
ProductName: macOS
ProductVersion: 12.4
BuildVersion: 21F79
michi ~$ brew --prefix
/Users/michi/opt/homebrew
michi ~$ python3 --version
Python 3.10.5
michi ~$ which python3
/Users/michi/opt/homebrew/bin/python3
michi ~$ python3 -m pip list | grep jupyterlab
jupyterlab 3.4.4
jupyterlab-pygments 0.2.2
jupyterlab-server 2.15.0
Troubleshoot Output
michi ~$ jupyter troubleshoot $PATH: /opt/local/bin /opt/local/sbin /Users/michi/opt/bin/native/Darwin /Users/michi/opt/bin /Users/michi/Library/Python/3.10/bin /Users/michi/.pyenv/shims /Users/michi/.cargo/bin /Users/michi/opt/homebrew/bin /Users/michi/opt/homebrew/sbin /Users/michi/.local/bin /usr/local/bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /Library/Apple/usr/binsys.path: /Users/michi/opt/homebrew/bin /Users/michi/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python310.zip /Users/michi/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10 /Users/michi/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/lib-dynload /Users/michi/Library/Python/3.10/lib/python/site-packages /Users/michi/opt/homebrew/lib/python3.10/site-packages
sys.executable: /Users/michi/opt/homebrew/opt/python@3.10/bin/python3.10
sys.version: 3.10.5 (main, Aug 6 2022, 11:45:06) [Clang 13.1.6 (clang-1316.0.21.2.5)]
platform.platform(): macOS-12.4-arm64-arm-64bit
which -a jupyter: /Users/michi/Library/Python/3.10/bin/jupyter /Users/michi/opt/homebrew/bin/jupyter
pip list: Package Version -------------------- ------------------ anyio 3.6.1 appnope 0.1.3 archive 0.1.dev22+g17d3c8b archive-project 0.1.dev6+ga80f2d0 argon2-cffi 21.3.0 argon2-cffi-bindings 21.2.0 arrow 1.2.2 asttokens 2.0.5 attrs 22.1.0 Babel 2.10.3 backcall 0.2.0 beautifulsoup4 4.11.1 binaryornot 0.4.4 bleach 5.0.1 certifi 2022.6.15 cffi 1.15.1 chardet 5.0.0 charset-normalizer 2.1.0 click 8.1.3 cookiecutter 2.1.1 debugpy 1.6.2 decorator 5.1.1 defusedxml 0.7.1 dirwatch 0.1 entrypoints 0.4 executing 0.9.1 fastjsonschema 2.16.1 git-toxic 0.1 idna 3.3 ipykernel 6.15.1 ipython 8.4.0 ipython-genutils 0.2.0 jedi 0.18.1 Jinja2 3.1.2 jinja2-time 0.2.0 json5 0.9.9 jsonschema 4.9.1 jupyter-client 7.3.4 jupyter-core 4.11.1 jupyter-server 1.18.1 jupyterlab 3.4.4 jupyterlab-pygments 0.2.2 jupyterlab-server 2.15.0 MarkupSafe 2.1.1 matplotlib-inline 0.1.3 mistune 0.8.4 nbclassic 0.4.3 nbclient 0.6.6 nbconvert 6.5.0 nbformat 5.4.0 nest-asyncio 1.5.5 notebook 6.4.12 notebook-shim 0.1.0 packaging 21.3 pandocfilters 1.5.0 parso 0.8.3 pexpect 4.8.0 pickleshare 0.7.5 pip 22.1.2 prometheus-client 0.14.1 prompt-toolkit 3.0.30 psutil 5.9.1 ptyprocess 0.7.0 pure-eval 0.2.2 pycparser 2.21 pyfswatch 0.1 Pygments 2.12.0 pyparsing 3.0.9 pyrsistent 0.18.1 python-dateutil 2.8.2 python-slugify 6.1.2 pytz 2022.1 PyYAML 6.0 pyzmq 23.2.0 r 0.1 requests 2.28.1 Send2Trash 1.8.0 setuptools 62.6.0 six 1.16.0 sniffio 1.2.0 soupsieve 2.3.2.post1 stack-data 0.3.0 terminado 0.15.0 text-unidecode 1.3 tinycss2 1.1.1 toml 0.10.2 tornado 6.2 traitlets 5.3.0 urllib3 1.26.11 wcwidth 0.2.5 webencodings 0.5.1 websocket-client 1.3.3 wheel 0.37.1 youtube-dl 2021.12.17
Browser Output (required for interface issues after loading)

(I'm not sure if this helps)
Logs (required for issues with loading, server and startup)
I didn’t find jlab
on my $PATH
so I used this command instead:
michi ~$ /Users/michi/Downloads/JupyterLab.app/Contents/MacOS/JupyterLab --verbose 4
[2022-08-06 14:25:43.109] [info] In production mode [2022-08-06 14:25:43.126] [info] Logging to file (/Users/michi/Library/Logs/jupyterlab-desktop/main.log) at 'false' level [2022-08-06 14:25:43.306] [error] (node:25789) DeprecationWarning: findLogPath() is deprecated and will be removed in v5. (Use `JupyterLab --trace-deprecation ...` to show where the warning was created) [2022-08-06 14:25:43.834] [info] feedURL https://update.electronjs.org/jupyterlab/jupyterlab-desktop/darwin-x64/3.3.4-2 [2022-08-06 14:25:43.835] [info] requestHeaders { 'User-Agent': 'update-electron-app/2.0.1 (darwin: x64)' } [2022-08-06 14:25:44.106] [error] Error: Command failed: ln -s /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app/jlab /usr/local/bin/jlab ln: /usr/local/bin/jlab: Permission denied at checkExecSyncError (node:child_process:835:11) at Object.execSync (node:child_process:909:15) at Object.execSync (node:electron/js2c/asar_bundle:5:12692) at setupJLabCommand (/private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:177:25) at /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:192:9 at processTicksAndRejections (node:internal/process/task_queues:96:5) [2022-08-06 14:25:44.173] [info] checking-for-update [2022-08-06 14:25:45.311] [error] There was a problem updating the application [2022-08-06 14:25:45.313] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 14:25:45.315] [info] updater error [2022-08-06 14:25:45.318] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 14:35:43.896] [info] checking-for-update [2022-08-06 14:35:44.366] [error] There was a problem updating the application [2022-08-06 14:35:44.376] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 14:35:44.379] [info] updater error [2022-08-06 14:35:44.379] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 14:45:43.898] [info] checking-for-update [2022-08-06 14:45:44.358] [error] There was a problem updating the application [2022-08-06 14:45:44.359] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 14:45:44.360] [info] updater error [2022-08-06 14:45:44.362] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 14:55:43.938] [info] checking-for-update [2022-08-06 14:55:44.420] [error] There was a problem updating the application [2022-08-06 14:55:44.424] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 14:55:44.432] [info] updater error [2022-08-06 14:55:44.432] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 15:05:43.946] [info] checking-for-update [2022-08-06 15:05:44.422] [error] There was a problem updating the application [2022-08-06 15:05:44.426] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 15:05:44.427] [info] updater error [2022-08-06 15:05:44.428] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 15:15:36.346] [error] Error: JupyterLab did not save state successfully at /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/app.js:233:46 [2022-08-06 15:15:38.547] [info] In production mode [2022-08-06 15:15:38.570] [info] Logging to file (/Users/michi/Library/Logs/jupyterlab-desktop/main.log) at 'false' level [2022-08-06 15:15:38.752] [error] (node:41425) DeprecationWarning: findLogPath() is deprecated and will be removed in v5. (Use `JupyterLab --trace-deprecation ...` to show where the warning was created) [2022-08-06 15:15:39.290] [info] feedURL https://update.electronjs.org/jupyterlab/jupyterlab-desktop/darwin-x64/3.3.4-2 [2022-08-06 15:15:39.291] [info] requestHeaders { 'User-Agent': 'update-electron-app/2.0.1 (darwin: x64)' } [2022-08-06 15:15:39.545] [error] Error: Command failed: ln -s /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app/jlab /usr/local/bin/jlab ln: /usr/local/bin/jlab: Permission denied at checkExecSyncError (node:child_process:835:11) at Object.execSync (node:child_process:909:15) at Object.execSync (node:electron/js2c/asar_bundle:5:12692) at setupJLabCommand (/private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:177:25) at /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:192:9 at processTicksAndRejections (node:internal/process/task_queues:96:5) [2022-08-06 15:15:39.604] [info] checking-for-update [2022-08-06 15:15:40.473] [error] There was a problem updating the application [2022-08-06 15:15:40.475] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 15:15:40.477] [info] updater error [2022-08-06 15:15:40.479] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 15:16:27.889] [error] Error: JupyterLab did not save state successfully at /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/app.js:233:46 [2022-08-06 15:16:29.674] [info] In production mode [2022-08-06 15:16:29.690] [info] Logging to file (/Users/michi/Library/Logs/jupyterlab-desktop/main.log) at 'false' level [2022-08-06 15:16:29.867] [error] (node:41573) DeprecationWarning: findLogPath() is deprecated and will be removed in v5. (Use `JupyterLab --trace-deprecation ...` to show where the warning was created) [2022-08-06 15:16:30.301] [info] feedURL https://update.electronjs.org/jupyterlab/jupyterlab-desktop/darwin-x64/3.3.4-2 [2022-08-06 15:16:30.302] [info] requestHeaders { 'User-Agent': 'update-electron-app/2.0.1 (darwin: x64)' } [2022-08-06 15:16:30.548] [error] Error: Command failed: ln -s /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app/jlab /usr/local/bin/jlab ln: /usr/local/bin/jlab: Permission denied at checkExecSyncError (node:child_process:835:11) at Object.execSync (node:child_process:909:15) at Object.execSync (node:electron/js2c/asar_bundle:5:12692) at setupJLabCommand (/private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:177:25) at /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:192:9 at processTicksAndRejections (node:internal/process/task_queues:96:5) [2022-08-06 15:16:30.607] [info] checking-for-update [2022-08-06 15:16:31.245] [error] There was a problem updating the application [2022-08-06 15:16:31.247] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 15:16:31.249] [info] updater error [2022-08-06 15:16:31.251] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 15:26:30.343] [info] checking-for-update [2022-08-06 15:26:30.823] [error] There was a problem updating the application [2022-08-06 15:26:30.845] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 15:26:30.852] [info] updater error [2022-08-06 15:26:30.852] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 15:36:30.345] [info] checking-for-update [2022-08-06 15:36:30.841] [error] There was a problem updating the application [2022-08-06 15:36:30.843] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 15:36:30.844] [info] updater error [2022-08-06 15:36:30.845] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 15:46:30.327] [info] checking-for-update [2022-08-06 15:46:30.798] [error] There was a problem updating the application [2022-08-06 15:46:30.800] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 15:46:30.802] [info] updater error [2022-08-06 15:46:30.802] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 15:54:21.040] [info] In production mode [2022-08-06 15:54:21.063] [info] Logging to file (/Users/michi/Library/Logs/jupyterlab-desktop/main.log) at 'false' level [2022-08-06 15:54:21.249] [error] (node:44064) DeprecationWarning: findLogPath() is deprecated and will be removed in v5. (Use `JupyterLab --trace-deprecation ...` to show where the warning was created) [2022-08-06 15:54:21.804] [info] feedURL https://update.electronjs.org/jupyterlab/jupyterlab-desktop/darwin-x64/3.3.4-2 [2022-08-06 15:54:21.805] [info] requestHeaders { 'User-Agent': 'update-electron-app/2.0.1 (darwin: x64)' } [2022-08-06 15:54:22.076] [error] Error: Command failed: ln -s /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app/jlab /usr/local/bin/jlab ln: /usr/local/bin/jlab: Permission denied at checkExecSyncError (node:child_process:835:11) at Object.execSync (node:child_process:909:15) at Object.execSync (node:electron/js2c/asar_bundle:5:12692) at setupJLabCommand (/private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:177:25) at /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:192:9 at processTicksAndRejections (node:internal/process/task_queues:96:5) [2022-08-06 15:54:22.132] [info] checking-for-update [2022-08-06 15:54:31.988] [error] There was a problem updating the application [2022-08-06 15:54:31.991] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 15:54:31.993] [info] updater error [2022-08-06 15:54:31.996] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 15:56:10.377] [info] In production mode [2022-08-06 15:56:10.396] [info] Logging to file (/Users/michi/Library/Logs/jupyterlab-desktop/main.log) at 'false' level [2022-08-06 15:56:10.567] [error] (node:44295) DeprecationWarning: findLogPath() is deprecated and will be removed in v5. (Use `JupyterLab --trace-deprecation ...` to show where the warning was created) [2022-08-06 15:56:11.061] [info] feedURL https://update.electronjs.org/jupyterlab/jupyterlab-desktop/darwin-x64/3.3.4-2 [2022-08-06 15:56:11.062] [info] requestHeaders { 'User-Agent': 'update-electron-app/2.0.1 (darwin: x64)' } [2022-08-06 15:56:11.315] [error] Error: Command failed: ln -s /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app/jlab /usr/local/bin/jlab ln: /usr/local/bin/jlab: Permission denied at checkExecSyncError (node:child_process:835:11) at Object.execSync (node:child_process:909:15) at Object.execSync (node:electron/js2c/asar_bundle:5:12692) at setupJLabCommand (/private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:177:25) at /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:192:9 at processTicksAndRejections (node:internal/process/task_queues:96:5) [2022-08-06 15:56:11.363] [info] checking-for-update [2022-08-06 15:56:14.124] [error] There was a problem updating the application [2022-08-06 15:56:14.126] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 15:56:14.128] [info] updater error [2022-08-06 15:56:14.130] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 16:00:06.451] [info] In production mode [2022-08-06 16:00:06.468] [info] Logging to file (/Users/michi/Library/Logs/jupyterlab-desktop/main.log) at 'false' level [2022-08-06 16:00:06.652] [error] (node:44553) DeprecationWarning: findLogPath() is deprecated and will be removed in v5. (Use `JupyterLab --trace-deprecation ...` to show where the warning was created) [2022-08-06 16:00:07.108] [info] feedURL https://update.electronjs.org/jupyterlab/jupyterlab-desktop/darwin-x64/3.3.4-2 [2022-08-06 16:00:07.109] [info] requestHeaders { 'User-Agent': 'update-electron-app/2.0.1 (darwin: x64)' } [2022-08-06 16:00:07.359] [error] Error: Command failed: ln -s /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app/jlab /usr/local/bin/jlab ln: /usr/local/bin/jlab: Permission denied at checkExecSyncError (node:child_process:835:11) at Object.execSync (node:child_process:909:15) at Object.execSync (node:electron/js2c/asar_bundle:5:12692) at setupJLabCommand (/private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:177:25) at /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:192:9 at processTicksAndRejections (node:internal/process/task_queues:96:5) [2022-08-06 16:00:07.456] [info] checking-for-update [2022-08-06 16:00:10.221] [error] There was a problem updating the application [2022-08-06 16:00:10.222] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 16:00:10.225] [info] updater error [2022-08-06 16:00:10.227] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 16:01:57.594] [info] In production mode [2022-08-06 16:01:57.612] [info] Logging to file (/Users/michi/Library/Logs/jupyterlab-desktop/main.log) at 'false' level [2022-08-06 16:01:57.791] [error] (node:44745) DeprecationWarning: findLogPath() is deprecated and will be removed in v5. (Use `JupyterLab --trace-deprecation ...` to show where the warning was created) [2022-08-06 16:01:58.238] [info] feedURL https://update.electronjs.org/jupyterlab/jupyterlab-desktop/darwin-x64/3.3.4-2 [2022-08-06 16:01:58.239] [info] requestHeaders { 'User-Agent': 'update-electron-app/2.0.1 (darwin: x64)' } [2022-08-06 16:01:58.490] [error] Error: Command failed: ln -s /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app/jlab /usr/local/bin/jlab ln: /usr/local/bin/jlab: Permission denied at checkExecSyncError (node:child_process:835:11) at Object.execSync (node:child_process:909:15) at Object.execSync (node:electron/js2c/asar_bundle:5:12692) at setupJLabCommand (/private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:177:25) at /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:192:9 at processTicksAndRejections (node:internal/process/task_queues:96:5) [2022-08-06 16:01:58.583] [info] checking-for-update [2022-08-06 16:02:01.292] [error] There was a problem updating the application [2022-08-06 16:02:01.294] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 16:02:01.297] [info] updater error [2022-08-06 16:02:01.299] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 16:07:58.620] [info] In production mode [2022-08-06 16:07:58.643] [info] Logging to file (/Users/michi/Library/Logs/jupyterlab-desktop/main.log) at 'false' level [2022-08-06 16:07:58.831] [error] (node:45144) DeprecationWarning: findLogPath() is deprecated and will be removed in v5. (Use `JupyterLab --trace-deprecation ...` to show where the warning was created) [2022-08-06 16:07:59.398] [info] feedURL https://update.electronjs.org/jupyterlab/jupyterlab-desktop/darwin-x64/3.3.4-2 [2022-08-06 16:07:59.399] [info] requestHeaders { 'User-Agent': 'update-electron-app/2.0.1 (darwin: x64)' } [2022-08-06 16:07:59.652] [error] Error: Command failed: ln -s /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app/jlab /usr/local/bin/jlab ln: /usr/local/bin/jlab: Permission denied at checkExecSyncError (node:child_process:835:11) at Object.execSync (node:child_process:909:15) at Object.execSync (node:electron/js2c/asar_bundle:5:12692) at setupJLabCommand (/private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:177:25) at /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:192:9 at processTicksAndRejections (node:internal/process/task_queues:96:5) [2022-08-06 16:07:59.740] [info] checking-for-update [2022-08-06 16:08:02.557] [error] There was a problem updating the application [2022-08-06 16:08:02.559] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 16:08:02.561] [info] updater error [2022-08-06 16:08:02.563] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 16:08:45.344] [info] In production mode [2022-08-06 16:08:45.361] [info] Logging to file (/Users/michi/Library/Logs/jupyterlab-desktop/main.log) at 'false' level [2022-08-06 16:08:45.536] [error] (node:45299) DeprecationWarning: findLogPath() is deprecated and will be removed in v5. (Use `JupyterLab --trace-deprecation ...` to show where the warning was created) [2022-08-06 16:08:46.012] [info] feedURL https://update.electronjs.org/jupyterlab/jupyterlab-desktop/darwin-x64/3.3.4-2 [2022-08-06 16:08:46.012] [info] requestHeaders { 'User-Agent': 'update-electron-app/2.0.1 (darwin: x64)' } [2022-08-06 16:08:46.336] [error] Error: Command failed: ln -s /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app/jlab /usr/local/bin/jlab ln: /usr/local/bin/jlab: Permission denied at checkExecSyncError (node:child_process:835:11) at Object.execSync (node:child_process:909:15) at Object.execSync (node:electron/js2c/asar_bundle:5:12692) at setupJLabCommand (/private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:177:25) at /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:192:9 at processTicksAndRejections (node:internal/process/task_queues:96:5) [2022-08-06 16:08:46.447] [info] checking-for-update [2022-08-06 16:08:49.292] [error] There was a problem updating the application [2022-08-06 16:08:49.295] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 16:08:49.298] [info] updater error [2022-08-06 16:08:49.300] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 16:09:33.565] [info] In production mode [2022-08-06 16:09:33.583] [info] Logging to file (/Users/michi/Library/Logs/jupyterlab-desktop/main.log) at 'false' level [2022-08-06 16:09:33.771] [error] (node:45613) DeprecationWarning: findLogPath() is deprecated and will be removed in v5. (Use `JupyterLab --trace-deprecation ...` to show where the warning was created) [2022-08-06 16:09:34.287] [info] feedURL https://update.electronjs.org/jupyterlab/jupyterlab-desktop/darwin-x64/3.3.4-2 [2022-08-06 16:09:34.288] [info] requestHeaders { 'User-Agent': 'update-electron-app/2.0.1 (darwin: x64)' } [2022-08-06 16:09:34.569] [error] Error: Command failed: ln -s /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app/jlab /usr/local/bin/jlab ln: /usr/local/bin/jlab: Permission denied at checkExecSyncError (node:child_process:835:11) at Object.execSync (node:child_process:909:15) at Object.execSync (node:electron/js2c/asar_bundle:5:12692) at setupJLabCommand (/private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:177:25) at /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:192:9 at processTicksAndRejections (node:internal/process/task_queues:96:5) [2022-08-06 16:09:34.685] [info] checking-for-update [2022-08-06 16:09:35.402] [error] There was a problem updating the application [2022-08-06 16:09:35.404] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 16:09:35.406] [info] updater error [2022-08-06 16:09:35.410] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 16:14:35.712] [error] Error: JupyterLab did not save state successfully at /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/app.js:233:46 [2022-08-06 16:14:37.502] [info] In production mode [2022-08-06 16:14:37.518] [info] Logging to file (/Users/michi/Library/Logs/jupyterlab-desktop/main.log) at 'false' level [2022-08-06 16:14:37.691] [error] (node:46015) DeprecationWarning: findLogPath() is deprecated and will be removed in v5. (Use `JupyterLab --trace-deprecation ...` to show where the warning was created) [2022-08-06 16:14:38.184] [info] feedURL https://update.electronjs.org/jupyterlab/jupyterlab-desktop/darwin-x64/3.3.4-2 [2022-08-06 16:14:38.185] [info] requestHeaders { 'User-Agent': 'update-electron-app/2.0.1 (darwin: x64)' } [2022-08-06 16:14:38.421] [error] Error: Command failed: ln -s /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app/jlab /usr/local/bin/jlab ln: /usr/local/bin/jlab: Permission denied at checkExecSyncError (node:child_process:835:11) at Object.execSync (node:child_process:909:15) at Object.execSync (node:electron/js2c/asar_bundle:5:12692) at setupJLabCommand (/private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:177:25) at /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:192:9 at processTicksAndRejections (node:internal/process/task_queues:96:5) [2022-08-06 16:14:38.489] [info] checking-for-update [2022-08-06 16:14:39.178] [error] There was a problem updating the application [2022-08-06 16:14:39.179] [error] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 16:14:39.181] [info] updater error [2022-08-06 16:14:39.184] [info] Error: Cannot update while running on a read-only volume. The application is on a read-only volume. Please move the application and try again. If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information. [2022-08-06 16:14:53.222] [error] Error: JupyterLab did not save state successfully at /private/var/folders/fq/2y7p86gs1qb98jp_cq5n90f80000gp/T/AppTranslocation/63B98877-0DD9-450F-B5EF-AB9C79CA8387/d/JupyterLab.app/Contents/Resources/app.asar/build/out/main/app.js:233:46 [2022-08-06 16:15:37.269] [info] In production mode [2022-08-06 16:15:37.290] [info] Logging to file (/Users/michi/Library/Logs/jupyterlab-desktop/main.log) at 'false' level [2022-08-06 16:15:37.543] [error] (node:46160) DeprecationWarning: findLogPath() is deprecated and will be removed in v5. (Use `JupyterLab --trace-deprecation ...` to show where the warning was created) [2022-08-06 16:15:37.983] [info] feedURL https://update.electronjs.org/jupyterlab/jupyterlab-desktop/darwin-x64/3.3.4-2 [2022-08-06 16:15:37.985] [info] requestHeaders { 'User-Agent': 'update-electron-app/2.0.1 (darwin: x64)' } [2022-08-06 16:15:38.129] [error] Error: Command failed: ln -s /Users/michi/Downloads/JupyterLab.app/Contents/Resources/app/jlab /usr/local/bin/jlab ln: /usr/local/bin/jlab: Permission denied at checkExecSyncError (node:child_process:835:11) at Object.execSync (node:child_process:909:15) at Object.execSync (node:electron/js2c/asar_bundle:5:12692) at setupJLabCommand (/Users/michi/Downloads/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:177:25) at /Users/michi/Downloads/JupyterLab.app/Contents/Resources/app.asar/build/out/main/main.js:192:9 at processTicksAndRejections (node:internal/process/task_queues:96:5) [2022-08-06 16:15:38.193] [info] checking-for-update [2022-08-06 16:15:39.110] [info] update-not-available [2022-08-06 16:16:33.827] [error] Error: JupyterLab did not save state successfully at /Users/michi/Downloads/JupyterLab.app/Contents/Resources/app.asar/build/out/main/app.js:233:46
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (9 by maintainers)
Can this be mentioned somewhere in the steps to install. JupyterLab Desktop recognized my python environment only when I installed jupyterlab in it.
closing this issue since it should be fixed with latest version. please create a new issue if needed.
I abandoned it and have just been using the “regular” web interface version, but I’ll revisit it and let you know.
JupyterLab Desktop ships with a Python environment which includes JupyterLab, but as you mention, using JupyterLab from a custom environment currently requires having JupyterLab installed in that environment (I am not a fan of this either). Two points:
@mbektas who is the main maintainer may have a different opinion based on their in-and-out knowledge of the underlying machinery, but again, I agree that from the UX point we should not require installing JupyterLab in every environment (or if it absolutely has to be done, we should be able to silently install/update it after user’s consent).
What’s the point of Jupyter Desktop if you need to have a python + jupyterlab environment?
Apologies for my stupid question, as I certainly missed or misunderstood key information.
@marc-medley you can get dmg installers from here, and macOS version already has auto-update feature, it can automatically upgrade to latest version released. but that is not your issue here.
brew install --cask jupyterlab
seems to install the same dmg as well.JupyterLab Desktop requires a Python environment with jupyterlab (>=3.4.5) Python package. It ships with a bundled installer to create that required environment. Your python installation created using homebrew doesn’t have jupyterlab python package. You should be able to install using
python3 -m pip install jupyterlab
@mbektas I am also encoutering the same “Failed to find a compatible Python environment…” issue when attempting to do a clean install of “JupyterLab.app” such that it uses an existing homebrew installation of Python3. If possible, I am attempting minimize the number of Python installations on my system.
Here is the information that I have related to your questions.
No spaces.
Each of the following also produced the same error:
main.log
Is there a link somewhere for a JupyterLab dmg installer?? (I was only finding pip instructions, a homebrew formula and a homebrew application cask.)
I installed
JupyterLab.app
as a homebrew applicaton cask. The reason being that periodic abrew update; brew upgrade
will also keep the.app
version updated.The homebrew cask desktop application install does put the app in
/Applications/JupyterLab.app
, as would a.dmg
drag & drop install to the Applications folder.I am working with a clean install such that
pythonPath
is empty.Note:
python
is not (yet) defined on my system. The machine started as a clean install of macOS Ventura 13.1 running on Apple Silicon. Standard Xcode and various commandline tools (homebrew utilities) are installed. This includespython3
(currently pointing topython3.10
),python3.9
,python3.10
, andpython3.11
So, using
python3
andpython3.11
the following resulted:Should it be somehow possible for JupyterLab.app to use a homebrew python installation?
@Feuermurmel this should be fixed now with v3.5.1-1. could you test and update the issue?