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
Hydrogen doesn't seem to detect my iPython installation #21
Comments
This may be related to other path and kernel search issues, which might be addressed in #19. I'm assuming arch uses the XDG directories and env variables? |
This is a fine place to ask! Hydrogen doesn't start a kernel until you run something, so if you haven't done a "Hydrogen:run" command yet, the kernel won't show up. Otherwise, did you start Atom from the command line? If not, it can't see your $PATH. Let me know if neither of those solves it and we'll try to figure out the problem. |
Jupyter is just the next release. Which version of IPython are you on? |
Python 3.4.3 and IPython 3.1.0. Although I also have Python 2.7.9 and its respective IPython (3.1.0) installed. |
Can you run from IPython.utils.path import get_ipython_dir; get_ipython_dir() in a python or IPython terminal? |
Sure, sorry for the delay: Out[1]: '/home/calin/.ipython' That's what I get. |
@acpcalin I log a bunch of stuff out to the console to help debug this sort of thing — mind updating to the latest version, then opening the dev console (View -> Developer -> Toggle Developer Tools) and trying to run something? It should spit out |
If you leave it waiting for a response, then run that command in your terminal ( Does |
Where do I find this entry in the Atom console? |
Ooh, that's probably the culprit. Investigating... |
No, sorry. Actually the output is
I didn't know that command was case-sensitive, I am sorry. |
OK, cool. Now try running |
Whoops. Run |
OK, so it's definitely able to find your ipython install. Try running something with Hydrogen, then while it's failing to give you a result, flip over to the terminal and running |
Yup, that's bizarre. I'm glad it's working for you now! Is it possible that this was just a side effect of restarting Atom? |
I don't really know, maybe. Thanks for the help! |
I just realized, sometimes Hydrogen finds the kernel, sometimes it doesn't. Closing and opening Atom several times and trying to run Hydrogen after each time is the solution. I don't know why, but I'm glad it works now. |
That's very weird. I wouldn't be surprised if it's an issue of the kernel I just published a version with a little more logging of what the kernel On Sun, May 24, 2015 at 3:51 PM acpcalin notifications@github.com wrote:
|
May I jump in? Having the same issue, that the kernel is not displayed in the bottom left. And I'm not able to find anything related to that topic but that entry here. |
@terraqout Thank you for that suggestion. However, I dont have that path
and none of them contains Not sure whether that matters but |
@hugeme Generally I don't know how to install kernels properly on MacOS. So you can look here: Please copy output of You have python kernel in a list because it was shamelessly hardcoded. So hydrogen may not founding it. To fix #135 you should reinstall hydrogen as a regular user and then |
@hugeme And besides, I would appreciate if you experiment with #144 on the same setup before any "fixing".
If it would fix your issue, I'll merge it in master. |
@terraqout #135 seems to be fixed, I'll get again In the right upper corner a blue box with "Scopes at Cursor"
Next: |
That's ok — Red box is kernel error, so install zmq as described here: https://github.com/willwhitney/hydrogen#os-x and retry. thanks for |
Do you mean that part?:
|
Jupyter needs zmq for python2, you may have zmq for third. Try |
reinstall Not sure whether its related, but in the upper comment a question is about the output of:
|
So your kernel isn't in default folder what is placed here: /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/etc/jupyter ? |
That ends here:
Headers Resources include |
Looks like you have the same issue #142 |
Drop your zeromq and try to install other way. It should help :) |
Thank you! Thats it! "other way around" solved it! |
@hugeme Can you explain your experience. So we can add this to readme.md? |
@ssahaxd are you interested in making a contribution about this to our docs installation page? The environment variables issue comes up frequently from windows users. Edit: or the Troubleshooting page |
@BenRussert of course, I would like to contribute. |
That's great!
I agree, especially if you want to go into detail. |
@BenRussert |
@ssahaxd thanks again! |
That is so crazy that the Windows installer doesn't include Python on the path by default. O___O |
I am running an Arch Linux System and I have installed iPython using the default package manager, however Hydrogen doesn't seem to find my installation. I don't understand how the whole "kernel" thing works with iPython, I just want the fancy functionality of Hydrogen. I'm sorry I posted this here but I didn't know where else to put it.
As you can see, there's no python kernel: in the bottom left.
The text was updated successfully, but these errors were encountered: