Hydrogen ModuleNotFoundError


#1

Hello you all.

I have seen many discussions on this issue and have tried numerous suggestions but so far none have worked.

I have installed:
Atom 1.32 x64
Python 3.7.0
Hydrogen 2.6.0

I have added enviroment variables to the path (Umgebungsvariablen (ger))

When I try to run an example python script from the atom troubleshoot website, an error comes up saying on

ModuleNotFoundError Traceback (most recent call last)
in ----> 1 import numpy as np
ModuleNotFoundError: No module named ‘numpy’

I have also tried using the Script package, but also without success.

Does anybody know what I am doing wrong, or where to start looking? All help is welcome


#2

Does it run correctly in the command line?


#3

Do you mean if Python runs correctly from cmd?

I think it does:


#4

Are you running one line of code at a time through Hydrogen? Because if you are, you have to run the import line in order to run the line that relies on the import.


#5

Aaaah check, yes I think that was the problem. alt+shift+ctrl+enter to run the whole thing. Okay.

Thanks for the help and the quick response.