-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Jupyter Notebook can't execute any code in cell #10346
Comments
Hi @BLeila - sorry you're having trouble. Did you try executing the cell by either pressing If so, try looking in the javascript console to see if there are any error messages there. |
I did try the two ways to execute my code,restarted the kernel but nothing. And I have one kernel This is what I get while running Jupyter notebook:
|
As @Carreau mentioned, it looks like your ipython kernel is failing to start. What happens if you try running It looks like you're running the notebook server using the |
Like I said before I followed the stepss to install graphlab. That's why I'm using thin gl-env. But the same thing happens when I'm not using the environment. @Carreau for the "kernel" >"Change Kernel" options I only have Python 2.
and for |
It looks like |
@takluyver still not working. |
Can you run |
@takluyver |
Can you try |
@takluyver Ohh!! That worked thank you. |
Great! For the record, I think the problem was that you'd done that previously in another environment which you'd deleted. Running that command tells it to use the environment you ran it from to start the kernel. So if you run that command and then delete the environment, it's trying to start a kernel that it can't find. Running the same command from a new environment tells it to use that for the kernel, so it works again. |
Thank you so much, the explanation helped a lot |
I am having the same problem. When I use Jupyter Notebook the code inside the cells won't execute and I get these empty brackets ([ ]). then executed python -m ipykernel install --user But it is not working for me |
@takluyver sir i had same issue it dint resolve |
i have same problem please help |
Following the above steps didn't solve my problem either, i have installed python 2 as well as python 3 but my notebook doesn't pick either kernel. |
I had the same issue, looks like my code was exceeding recursion limit set by python. That's why it was crashing. |
Even I encountered the same error!! Dono how to fix!! |
@takluyver I tried all the method but still unable to fix the error. |
On Ubuntu 18.04.1, I was able to solve this problem by running:
Change |
Just as a warning, if you are using sudo and pip, you risk breaking you
system and overwrite critical components. You should avoid using sudo with
pip unless you know what you are doing.
…On Tue, Sep 4, 2018, 22:13 gzerveas ***@***.***> wrote:
On Ubuntu 18.04.1, I was able to solve this problem by running:
sudo pip uninstall jupyter
sudo apt install jupyter-notebook jupyter-core python-ipykernel
sudo python2 -m pip install --upgrade ipykernel
Change python2 to python3 if needed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10346 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAUez0zoWZasgMArnWJgAaHmKkJhvFmaks5uXt7egaJpZM4MMKul>
.
|
Same problem as this? Still unresolved. |
i have same problem, i already try python -m ipykernel install --user and still cant run any code, please help :v |
See also jupyter/notebook#3910 |
i faced the same problem while running jupyter notebook in my pc.
|
Same problem of the topic and; pip install --upgrade ipykernel Solved the problem here on windows 10. |
Hey, |
@amnanajib: Please create an own issue and describe your exact setup. For some reason the WebSocket communication seems to fail. But it could be any part of it... |
This is a problem with Jupyter Notebook. Suddenly your codes will stop executing. Just go to Kernal in Jupyter Notebook and Click on Restart and Run All. |
I was also troubling with same problem but I tried changing my environment variables, it solved everything. |
what variable? |
I cannot execute my code in the cell, It appears [*] while running the code |
@AasthaTimalsina I too had the same problem I fixed it with a solution of uninstalling |
Hello,
I need Graphlab for my text mining course. I'm new to python.
I followed the instructions in this URL: https://turi.com/download/install-graphlab-create-command-line.html
when I use IPython everything seems to work, but when I use Jupyter Notebook. the code inside the cells won't execute and I get these empty brackets ([ ])
Please tell me if I should provide more informations.
platform : win-64
conda version : 4.0.5
conda-build version : 1.20.0
python version : 2.7.11.final.0
requests version : 2.9.1
The text was updated successfully, but these errors were encountered: