Traceback (most recent call last):
File “C:\Users\iLYAS\anaconda3\Scripts\jupyter-notebook-script.py”, line 6, in
from notebook.notebookapp import main
ModuleNotFoundError: No module named ‘notebook.notebookapp’
Are you able to provide a bit more context as to where you are running this code and what you were trying to achieve?
It looks like you have a .py file with some functions stored in your scripts folder, and then you’re trying to import it to a Notebook.
In which case I think you need have the Imports with the same name as the py file. So in this case it would be in the same working directory and say: from jupyter-notebook-script import main
This is quite a common workflow so there are plenty of resources out there that will do a better job explaining than I can!