hydrogen: Hydrogen crashes after updating Atom (ZeroMQ build fails on Electron 9)

Hello,

Description

I am working on MacOS, and after updating Atom and Hydrogen, I had to rebuilt Hydrogen from the dedicated panel that was specifying an incompatibility. However, after doing so, Atom crashes whenever I try to run any python code (see the screenshot). The issue appears with a minimal code: import numpy as np. Atom is warning me about 2 deprecations (see the second screenshot), but no update is available to solve this issue.

Versions

atom --version

Atom    : 1.56.0
Electron: 9.4.4
Chrome  : 83.0.4103.122
Node    : 12.14.1

apm --version

apm  2.5.2
npm  6.14.8
node 12.4.0 x64
atom 1.56.0
python 3.7.6
git 2.20.1

apm show hydrogen

Hydrogen
├── 2.14.7
├── https://github.com/nteract/hydrogen
├── Run code interactively, inspect data, and plot. All the power of Jupyter kernels, inside your favorite text editor.
├── 2234205 downloads
└── 775 stars

Run `apm install Hydrogen` to install this package.

sw_vers

ProductName:	Mac OS X
ProductVersion:	10.14.6
BuildVersion:	18G6032

Screenshots

Screenshot 2021-04-14 at 15 42 37 Screenshot 2021-04-14 at 15 51 51

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 51 (13 by maintainers)

Most upvoted comments

I registered a new version now which fixes the building from the source.

Run the following command to ensure you are using the latest version:

apm uninstall hydrogen  # might fail if already uninstalled
apm install hydrogen

And with Hydrogen 2.15.1 just now released a simple

apm uninstall hydrogen apm install hydrogen

And I can get back to work! Kudos @aminya, you rockstar! 😉

Hydrogen 2.15.0 is released. Now you can use Hydrogen on the latest Atom 🎉

Finally fixed! Thanks @aminya

Here is what I had to do since I already uninstalled Hydrogen.

# run
C:/Users/Andrew/AppData/Local/atom/app-1.54.0/resources/app/apm/bin/apm.cmd install hydrogen
# fails, it wants Windows 8.1 SDK
# follow instructions above to install Windows 8.1 SDK
https://stackoverflow.com/questions/43704734/how-to-fix-the-error-windows-sdk-version-8-1-was-not-found
# run again
C:/Users/Andrew/AppData/Local/atom/app-1.54.0/resources/app/apm/bin/apm.cmd install hydrogen
# rebuild
C:/Users/Andrew/AppData/Local/atom/app-1.54.0/resources/app/apm/bin/apm.cmd rebuild hydrogen
# load atom
# rebuild inside the GUI again
# reload atom

Working!