How do I properly run script on Jupyter Notebook without errors?

14 Replies, 1666 Views

Hey! I had the same issue when I started. One common mistake is not checking the kernel. Sometimes Jupyter defaults to a Python 2 kernel or a different environment. Make sure you’re using the right one!

Also, if you’re running script on jupyter notebook and getting syntax errors, try copying your code into a plain Python file and running it there. If it works, the issue is likely with Jupyter’s setup.

Lastly, check out [Jupyter’s official docs](https://jupyter.org/documentation). They have a ton of tips for beginners.

Messages In This Thread



Users browsing this thread: 1 Guest(s)