Sometimes unexpected things happen.
In this case, please, open an Issue and make sure to include the version of Hydrogen and Atom you are running. You can get this information by running atom --version
from the command line.
Please, also include the output or a screenshot of the debug messages. To access the debug messages follow these steps:
-
Open the Settings tab by pressing (
ctrl-,
), select the Hydrogen package (Packages --> Hydrogen
), and tickEnable Debug Messages
: -
Open the developer tools (
View --> Developer --> Toggle Developer Tools
or viashift-ctrl-i
/cmd-alt-i
): -
Select the Console tab to see the debug logs and run the code causing the issue:
At the moment we don't ship prebuilts for 32-bit Linux. Hence you'll need some additional toolling to build from source:
python
(v2.7
recommended,v3.x.x
is not supported for building Hydrogen)make
- A proper C/C++ compiler toolchain, like GCC
Use your distribution's package manager to install.
If your default python
is 3.x, you need to run instead PYTHON=python2.7 apm install hydrogen
or change the default version for apm
with apm config set python $(which python2.7)
beforehand. You can still use 3.x versions of Python in Hydrogen, but it will only build with 2.x due to a longstanding issue with gyp
.
Currently, a recent version of Jupyter is required for Hydrogen to detect the available kernels automatically. Users can set kernels manually using the Hydrogen settings. See this section in the README for more details.
Atom won't pick up kernels inside a virtualenv unless Atom is launched as atom .
within the virtualenv. The alternative is to create a kernel specifically for a virtualenv.
Again, there are a number of possible causes and solutions:
-
If the result bubble only shows check marks (see issues #61, #68, #73, #88):
- solved by upgrading the
jupyter
version (see this comment );
- solved by upgrading the
-
If Hydrogen doesn't output any results for Atom version < 1.13 (see issue #326), check that you haven't disabled
Use Shadow DOM
underSettings > Editor
. This option should be enabled. -
If the spinner in the result bubble never stops (see issue #53): This is issue hasn't been seen recently. Please, post in issue #53 the details of your installation.