Closed CH4O7IC closed 4 months ago
I didn't screenshot the sudo part. This is it:
Thank you for reporting this.
I have no idea what you mean by "open a session via the app and spotlight" (especially the spotlight part) so I will ignore that.
The error message indicates that you do not have write permission in the directory /Users/ch407ic/Library/Jupyter/runtime
. Of course, that directory should belong to you. and it should be writable. Perhaps you had run jupyter as root at some earlier time, so some of the subdirectories of your ~/Library/Jupyter
directory ended up being owned by root instead of by you. Or perhaps you somehow managed to change permissions so that directory became read-only. All of the contents of that directory are temporary and most should be removed when the app or the Sage executable terminates.
Please run this command:
rm -rf ~/Library/Jupyter
if that fails, because something in that directory is not owned by you, you might have to run the same command with sudo or drag the directory to the trash with Finder.
Please do not ever run the app, or the script /usr/local/bin/sage, as root. It is never necessary. And it is very likely to cause lots of trouble because Sage writes files in your home directory (both in ~/Library and in ~/.sage).
I would also recommend deleting or moving your ~/.sage directory, just because several other users had problems caused by old files in there.
I'm sorry if the spotlight part was unclear. I simply meant that I used the built-in App-Runner Spotlight (typically Command+Space) to run the SageMath*.app from the Applications. I will try deleting the Jupyter directories later and come back to this if there's any more problems. Thanks a lot. :D
Removing the ~/Library/Jupyter and ~/.sage directories did the job just fine. It works as intended now. Thanks
Thank you. I am glad to hear that.
I installed SageMath today. Copied the .app to /Applications and ran the recommended package. When I try to open a session via the app and spotlight, port 8888 is not responding. When I try to start a session via the terminal I don't seem to have permission to do so without sudo privileges and doing it with sudo fails. I attached a screenshot displaying that.