Questions tagged [hydrogen]

Hydrogen is an Atom plugin that allows users to run code with an interactive REPL session with their language of choice inside GitHub’s Atom text editor.

Hydrogen lets you run your code directly in Atom using any Jupyter kernels you have installed.

94 questions
0
votes
1 answer

Hydrogen kernel not detected

When starting hydrogen in atom to execute python code, I usually get asked which kernel I want to use. I have three kernels. The one I use on my current project is the standard python3 kernel, where I have all the required libraries…
rturquier
  • 151
  • 7
0
votes
1 answer

Tell Atom+Hydrogen to look in virtual enviromnment for packages

I'm completely new to this. I have set up Python3 and Atom and installed Hydrogen for Atom so I can run each line of my code and see the output. I have set up a virtual environment and added packages to it. My problem is that inside my Atom .py…
lara
  • 835
  • 1
  • 8
  • 20
0
votes
1 answer

Code runs on command prompt but not on hydrogen

I'm just beginning with programming(python3), using the information available on Internet. Right now I'm learning how to use try/except. My problem is that the code I wrote runs fine in the command prompt of windows 10, but not in the…
Chiron
  • 3
  • 2
0
votes
0 answers

how to use python 3.8 in hydrogen kernel in atom editor

I have two different python versions on my macOS, 3.7 (from Anaconda) and 3.8 (installed by Homebrew). I have noticed that Hydrogen kernel uses version 3.7 but couldn't find a way to make it use version 3.8. When I run it with…
Nihat
  • 97
  • 7
0
votes
0 answers

Hydrogen not running python 3.8

For several months I ran anaconda, my default python interpreter, and hence Hydrogen on Python 3.7.6 via Atom. Recently I updated my anaconda to 3.8.2, and immediately, my Hydrogen began showing this error. Python 3 Traceback (most recent call…
0
votes
1 answer

Is there a keyboard shortcut to close inline cell output in Atom in Hydrogen?

Now it seems that that the only option is to click the close button.
Denis
  • 11
  • 2
0
votes
0 answers

Issue installing Hydrogen package in atom

i'm trying to install the hydrogen package in atom (v1.35), i don't have problems at all when i'm installing other packages but when i try to install hydrogen i got this error. Installing “Hydrogen@2.8.0” failed.Hide output… "where git 2>nul" no…
jufegome
  • 69
  • 3
0
votes
1 answer

In atom editor using hydrogen for jupyter/python, how to extract/save an image?

Is there a straightforward way (one line code or even context menu) to save an image that is shown in a return bubble from the Hydrogen package in the Atom.io editor? I actually managed to extract the base64 code for the png from the developer-pane…
Matthias Arras
  • 565
  • 7
  • 25
0
votes
0 answers

Running a single IPython kernel in multiple virtual environment

My problem is that everytime I start a new project, I need to install an IPython kernel to that project's virtual environment. This is a problem because the kernel and all its dependencies are in the requirements.txt of every project, even though…
Lokdal
  • 183
  • 1
  • 1
  • 6
0
votes
1 answer

How to set the PYTHONPATH per project in ATOM editor

I wanted to replace Jupyter Notebooks with something which has a more IDE like feeling. I stumbled upon Hydrogen which is a plugin for the Atom Editor. It worked ok, but since I use the Cookiecutter directory layout I always had the problem that…
Arigion
  • 3,267
  • 31
  • 41
0
votes
1 answer

How do you use pdb in Hydrogen?

I am new to debugging in Python, and I currently use Hydrogen within Atom to do most of my Python work. I have looked into debugging, and it seems that the Python package pdb is the standard way to debug in Python. Most of the examples I can find…
Lambert_W
  • 155
  • 1
  • 9
0
votes
1 answer

Hydrogen passes "-f" to ArgumentParser

I am trying to run the following code in Atom's Hydrogen package import argparse parser = argparse.ArgumentParser() parser.parse_args() which produces the following error ipykernel_launcher.py: error: unrecognized arguments: -f Any ideas why this…
0
votes
0 answers

Numpy & Matplotlib suddenly cannot be imported in Atom although it works fine in the Terminal

I'm regularly importing Matplotlib Numpy PySide2 in Atom. They unexpectedly cannot be import for an unknown reason and then appear to be again re-importable, again unexplained. When trying to import matplotlib with the following command import…
ecjb
  • 5,169
  • 12
  • 43
  • 79
0
votes
1 answer

Hydrogen Atom output window issues

I have Hygdrogen installed for my Atom editor. It was working fine till yesterday. When I run using shift+enter, the output window displays the result as per normal: However, when I close the output window, the window closes, leaving behind a huge…
0
votes
1 answer

Changing font for Hydrogen Atom Code Inspector

How do I change the font (and font size) for the Code Inspector pane (accessible from the Command Palette 'Hydrogen: Toggle Inspector')? Asking mainly because the font size is a tad too small for me when I pull up the Inspector pane. Thanks in…
Joses Ho
  • 118
  • 10