Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to execute python codes in Jupyter Notebook #3729

Open
amitsharma23 opened this issue Jul 2, 2018 · 9 comments
Open

Unable to execute python codes in Jupyter Notebook #3729

amitsharma23 opened this issue Jul 2, 2018 · 9 comments

Comments

@amitsharma23
Copy link

I recently started learning python for data science. I installed anaconda (Python 3.6). Post installation, when I wrote 'Jupyter Notebook' in Anaconda Prompt to open Jupyter, the notebook got opened. However, I was unable to execute any codes in the notebook. I installed anaconda after turning off my anti-virus software but the Jupyter wasn't running any codes. I have added the screenshot of the Anaconda Prompt after writing 'Jupyter Notebook'. Please look into it and assist further. I am new to programming.
2018-07-01_19-04-59-2472a6a3c1776cf1abc1fcc5b90988ce
2018-07-01_19-04-59-dac5f454ab1bef7ca01fc5b6f8844071

@takluyver
Copy link
Member

takluyver commented Jul 2, 2018 via email

@amitsharma23
Copy link
Author

I tried every possible way to run codes. Shift + Enter, using Run button, and Ctrl + Enter. Yet, I am unable to run my codes.

@takluyver
Copy link
Member

Did you have a cell with code in selected when you did that? All those options only work on the currently selected cell.

@amitsharma23
Copy link
Author

Yes, the cell was selected when I performed those commands.

@takluyver
Copy link
Member

takluyver commented Jul 3, 2018 via email

@amitsharma23
Copy link
Author

As I was unable to execute any codes in Jupyter, one of my friend suggested me to check for 'inspect' and I found that something is not right. It says that the Kernel is not active. Please tell me the next steps in simple language as I do not have any programming background.
jupyter_error

@takluyver
Copy link
Member

I think that means it's not able to start the kernel, but I don't know why that is. Is there any more output that could be relevant in the command prompt where you launched Jupyter?

@dave-wilkins
Copy link

It is quite possible to get a lot of jupyter notebooks going. If you do that, at some point, you run out the resources needed to run.

Try using the File Open menu item, you'll see a list of files. Look for and click on "Running".
You can press the Shutdown button to turn off stuff you are not using. That can free up resources
and let your notebook run.

@pbmenon78
Copy link

I have kind of the same problem, but before opening the python code book it says the app could not open. and in the details of the problem, it says appcrash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants