admin管理员组

文章数量:1125081

This is probably a simple issue, but I do so little sys admin that it stops me.

Background: I want to update my standalone Jupyter Notebook install from 7.1. I'm using an M2 MacBook Pro running Sonoma 14.5. I installed Jupyter about 2 years ago when i bought the machine and created a standalone setup when I encountered Anaconda problems. I've had Notebook running well with R, Python, Julia, but lately I've been taking a lot of markdown math notes and have noticed an issue where Notebook creates scrollbars in Markdown cells containing $$math_here \tag{number}$$ -style equations. i think this has been fixed.

I type at the terminal: pip install --upgrade notebook

Mid-upgrade, I get the following error that stops the process

ERROR: Could not install packages due to an OSError: Cannot move the non-empty directory '/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/jupyterlab-4.1.1.dist-info/': Lacking write permission to '/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/jupyterlab-4.1.1.dist-info/'.

Possibly some bash chmod one-liner fixes this, but I do so little of this I thought I would ask if this was a known issue before i started mucking around.

本文标签: Permissions issue in updating standalone Jupyter Notebook on MacOSStack Overflow