A question about installing kernels (related to running Hydrogen with Atom) I have a really basic question, but the more I read, the more confused I get: How do I install pip so I can install kernels?

This question came about when I tried to install the Hydrogen package to use in Atom, the text editor (to help me learn Python). I finally succeeded in installing Hydrogen, but got stumped by the missing kernels (not sure which ones I need, so I am willing to install them all). But I can't seem to install the kernels without pip. 

I have a vague understanding of the implications of global vs local installations--I get that certain Python installations aren't compatible with local or global kernel installations (I hope I have the terminology right.) But I saw several warnings about installing pip for "a homebrew based python installation", but I am not sure whether Python on my laptop is installed via homebrew (nor how to find out).

So if Python(2.7) came pre-installed on my MacBook Pro (High Sierra), can I just do sudo easy_install pip (as suggested) from the command line--withOUT causing issues?

I first posted this question in StackExchange and was advised to seek help here. Frankly I wasn't sure whether this was a Mac question or a Atom question.

Thanks in advance!
I had the same problem. I solved it by making the first line of my script:

#!path/to/python


I type which python and use the result in first line of script. Now Hydrogen works every time.