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
30
votes
9 answers

Jupyter Notebook can't find modules for python 3.6

Not sure what happened but whenever I use ipython, hydrogen (atom) or jupyter notebook can't find any of the installed modules. I know I have pandas installed but the notebook says its not found. I should add that when I run the script normally…
Harris2018
  • 503
  • 1
  • 5
  • 13
30
votes
9 answers

Using anaconda environment in Atom

I've install Anaconda (Python 3.6) and tensorflow (python 3.5). I've managed to get it run both on Spyder and on sublime text 3( by making new build system). Now all the is using Atom( which I'm not used to). So I've trying to "tell" Atom to use…
Engine
  • 5,360
  • 18
  • 84
  • 162
15
votes
2 answers

IPython, "name 'plt' not defined"

I recently installed Atom as an IDE on my laptop, for university. I installed Hydrogen as a convenient solution to show some plots on the go. But whenever I run Hydrogen, I get this error: NameError Traceback (most…
Chewhakka
  • 195
  • 1
  • 1
  • 6
12
votes
2 answers

Setting Up a Python Virtual Environment with Hydrogen in Atom

I'm in the middle of switching from VS Code to Atom and I'm trying to set up a virtual environment for my python project. It was pretty easy to do in VS Code, I'd run the following script and it would automagically start using the new env (with all…
Tim Estes
  • 377
  • 2
  • 19
9
votes
1 answer

Setting up Hydrogen and Atom with Anaconda on Windows

I would like to run python interactively in ATOM using the Hydrogen package. I am on Windows 10. I would like to be able to initiate an ATOM session by double-clicking the ATOM icon in my toolbar or double-clicking a .py file and not have to…
brb
  • 1,123
  • 17
  • 40
8
votes
1 answer

Adding New Conda Env to Hydrogen for Atom

I work with many conda environments in my workflow and like to use the hydrogen package for the Atom Editor when I am exploring objects. However I always forget how to add a new jupyter kernel to the new environments even though it is only two lines…
rgalbo
  • 4,186
  • 1
  • 19
  • 29
6
votes
0 answers

Atom running Hydrogen Package - No introspection available

I am running Python3 in Atom on MacOS. Inside Atom, I can run the Hydrogen package and I can use toggle-inspector to pull up the docstrings for some functions (like sorted and enumerate) but for many other built in and imported functions, like…
DanGoodrick
  • 2,818
  • 6
  • 28
  • 52
5
votes
1 answer

How to remove IPython kernel from Hydrogen for Atom

I have created multiple Conda envs which I use as IPython kernels in Hydrogen for Atom using the following suggestion: source activate thisenv python -m ipykernel install --user --name thisenv After deleting such a Conda env, however, Atom-Hydrogen…
5
votes
1 answer

Using Hydrogen, how do I save they python script with output included like a jupyter notebook?

I'm new to Atom and Jupyter. I've only installed Hydrogen and I'm testing on a simple script. I can make some data and, shift+Enter shows the plot inline! I'd like to save the file w/ the output blocks I see in the Atom+Hydrogen GUI. I've seen other…
travelingbones
  • 7,919
  • 6
  • 36
  • 43
5
votes
6 answers

How do I use a new ipython kernel in Atom?

I created a data_science kernel for ipython by using the following commands: python -m ipykernel install --user --name data_science --display-name "Python (Data Science)" This creates a kernel with all my conda/pip data science packages. I can…
spitfiredd
  • 2,897
  • 5
  • 32
  • 75
4
votes
0 answers

Restarting IPython kernel after installing new package - Hydrogen vs Jupyter

I'm used to working with IPython kernels in Jupyter. Whenever I need to install a new Python package I simply install it via pip in the corresponding virtual environment. The package is immediately available in any notebook running with the kernel.…
Simón Ramírez Amaya
  • 2,436
  • 2
  • 14
  • 31
4
votes
1 answer

Using Atom with Hydrogen. The working directory for Atom is one folder up from the current file's location. How do i change it to the current folder?

In both Hydrogen and using a plug-in terminal platform, the default directory is one folder up from where my code file resides. E.g., I’ll be working on a file with path, say, parent/code/file.py. When I run pwd in the plug-in's terminal or the…
travelingbones
  • 7,919
  • 6
  • 36
  • 43
4
votes
1 answer

Atom Hydrogen: How is "run cell" used?

How is the "run cell" syntax in Hydrogen for Atom used? I placed multiple # %% tags throughout my code following the official manual here, but when I press Shift+Enter in between any two of the tags, it still only executes that line, not the entire…
Alex
  • 3,316
  • 4
  • 26
  • 52
4
votes
1 answer

atom.io, hydrogen and ipython remote (ssh) kernel

So I discovered lately this atom.io text editor. Soon after the amazing hydrogen. So far so good, hydrogen starts an ipython kernel if it isn't already running and then it gives you real time interaction, just like with ipython notebook. Good, but…
razvanc
  • 930
  • 2
  • 11
  • 18
3
votes
1 answer

EDGE_FUNCTION_INVOCATION_FAILED when deploying an hydrogen application in Vercel

When I am deploying my Hydrogen based Shopify application into Vercel. I am getting this error EDGE_FUNCTION_INVOCATION_FAILED when seeing on logs it tells this. When I am deploying my Hydrogen based Shopify application into Vercel. I am getting…
Jay Malde
  • 31
  • 1
1
2 3 4 5 6 7