-
Notifications
You must be signed in to change notification settings - Fork 334
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 client invalid signature error when running code block #780
Comments
Woa that's strange, thanks for the detailed bug report. This looks similar to #730. Could you try running: pip3 install --upgrade ipykernel
python3 -m ipykernel install --user |
I was having a lot of issues with Jupyter (couldn't get the notebook to work either) so I figured I'd uninstall Hydrogen and Jupyter and even my Python 3 installation (through Homebrew) and reinstall them all. I did that yesterday. I didn't have time to check whether that solved the issues until just now but everything is working! I don't think it's a Hydrogen issue since Jupyter was also acting up so perhaps it was a Jupyter issue which is why reinstallation helped. If something similar pops up I'll try your suggested commands and see if that helps before reporting another issue. This is an amazing tool, by the way! I really love it and look forward to its continued development. Hope you have a great week :+) |
Thanks! Glad it's working now. |
@lgeiger I think there is actually an issue in hydrogen, since I have a reliable way of getting this error message. The steps are:
On the other hand, if I wait for the first execution of "Hydrogen: Run" to successfully start the kernel and finish executing, then I don't see this error message. (Also, sometimes the steps above give a |
@nikitakit I 've noticed the issue you are talking about, though it probably deserves it's own issue. For others trying to reproduce, try @nikitakit's suggestion with a language you have only one kernel for, since the select kernel prompt ( e.g Python 2, Python3) can give enough time to start up thus avoiding the problem. |
Description:
Trying to run code block results in the following error:
It seems that Python 3 is giving the error message (going by the title of the error message popup) yet the error points to Python 2.7 as seen in the information of that message. I'm new to Jupyter and Hydrogen so perhaps I'm missing something obvious. Any help would be much appreciated.
Steps to Reproduce:
pip3 install ipython
pip3 install jupyter
import pandas as pd
anddataset = pd.read_csv('NAME_OF_FILE')
)Versions:
macOS 10.12.5 (Sierra)
Atom version 1.16.0
Hydrogen 1.13.0
Logs:
The following is a direct copy/paste of from the log but it doesn't seem to have been formatted properly, so I include a picture of the relevant portion of the logs after for a cleaner look:
Should any of these items be expanded for more information, let me know which ones and I will post another image as a reply with the expanded block of the log message.
The text was updated successfully, but these errors were encountered: