I have just restored my MacBook Pro (Intel, Sonoma 14.3) to factory settings.
I installed Anaconda through the package on the Anaconda website.
I opened terminal, and the command “conda update anaconda” did not work because of the error: "“PackageNotInstalledError: Package is not installed in prefix.”. After searching online, I ran the command “conda update --name base conda”, which did work.
Problem:
I opened Jupyter notebook through terminal, and the environment is not the usual. I got the following warnings on the console:
A _jupyter_server_extension_points function was not found in jupyter_lsp. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
A _jupyter_server_extension_points function was not found in notebook_shim. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
Debugger warning: It seems that frozen modules are being used, which may make the debugger miss breakpoints. Please pass -Xfrozen_modules=off to python to disable frozen modules. Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
Here is a screenshot of the Jupyter notebook window that was loaded:
As I understand, it seems that several language servers are not installed. I still have not installed MacTex, but the warning mentions many other servers as well.
you probably updated jupyter nptebook recently from the version you were using to a more recent one (check the jupyter --version version) and check if it is the same one you were using before the screenshot you posted. The errors you encounter on Mac I also encounter on Win and are due to the latest version of Jupyter. As for the servers, I haven’t currently found any solutions, but everything works correctly, only the graphics have changed. for the PYDEVD_DISABLE_FILE_VALIDATION error: “Open a terminal. Depending on the shell you are using, you will need to edit the .bashrc (for Bash) or .zshrc (for Zsh) file. If you’re not sure which shell you’re using, Bash is usually the default on Linux and Mac. Use a text editor to open the configuration file. For example, if you use Bash, run: bash Copy code nano ~/.bashrc If you use Zsh, replace .bashrc with .zshrc. Add the following line to the end of the file: bash Copy code export PYDEVD_DISABLE_FILE_VALIDATION=1 Save the file and close the editor. If you’re using nano, you can do this by pressing Ctrl+X, then Y, and finally Enter. For the changes to take effect, restart the terminal or run the command source ~/.bashrc (or source ~/.zshrc for Zsh).”
Hi, I have the same question when I launch the jupyter notebook in M1 Pro. after I re-installed anaconda, I got this problem. So I want to if you have methods to solve it?
Hi, I ran into exactly the same issues (all four points listed above) yesterday after I removed and reinstalled the latest Anaconda using commend line installer for my mac M3 sonoma 14.5, although jupyter notebook opens itself but it doesn’t look normal (looks exactly like the screenshot Miguel_Santana posted, which seems like a jupyter lab). The newly installed anaconda has all the latest version of python (3.12) and notebook (7.0.8). I can still work despite the warning messages, but it feels something is wrong… Is there a way to debug? Many thanks!
Same issue for me and as @Rajavi_Shah has proposed, ‘cmd-shift-R’ on the blank window where Jupyter would be expected to render fixed the issue for me too.
Just for the benefit of others who may not know how this is affecting things & leading to fixing, this is doing a hard refresh of the webpage in the browser on Mac. (I know that is key combination for Chrome on Mac at least.).
For Windows machines with Chrome, the key combination is CTRL + F5.