Step1: Open the Jupyter Notebook properties interface and perform the following operations:
step2: Enter the following command at the Anaconda prompt:
jupyter notebook --generate-config
Enter y, after confirming, copy the file path that pops up, and enter the modified py file
Step3: Find the file and open it, search for c.NotebookApp.notebook_dir in the file, remove the # sign and paste the starting path here, as shown in the figure below: