nteract / hydrogen

:atom: Run code interactively, inspect data, and plot. All the power of Jupyter kernels, inside your favorite text editor.
https://nteract.gitbooks.io/hydrogen/
MIT License
3.93k stars 333 forks source link

Hydrogen does not find Stata_kernel, although it is installed and works fine with Jupyter #2126

Open rafaelrubiao opened 3 years ago

rafaelrubiao commented 3 years ago

Description

Hello everyone,

I am sorry if this is very amateur, as this is my first post here. I installed both Stata kernel and hydrogen, but Atom cannot run any Stata code, although I am able to run a Stata code in Jupyter (which made me think the kernel is ok). If I try to run a Stata code in Atom, I get the following message (see print below):

Traceback (most recent call last): File "C:\Users\rafae\Anaconda3\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\rafae\Anaconda3\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\rafae\Anaconda3\lib\site-packages\stata_kernelmain.py", line 2, in from . import StataKernel ImportError: cannot import name 'StataKernel' from 'stata_kernel' (C:\Users\rafae\Anaconda3\lib\site-packages\stata_kernelinit.py)

image

Steps to Reproduce

There is no code needed to reproduce, it returns the same error for any stata code ran in Atom

Versions

OS version: [Your OS's version]

atom --version

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

apm --version

apm 2.6.2 npm 6.14.13 node 12.14.1 x64 atom 1.58.0 python 3.8.11 git 2.31.1.windows.1 visual studio

Hydrogen version:

Hydrogen ├── 2.16.3

Plugins

Have you installed and activated any of the Hydrogen plugins below ?

StaffanBetner commented 2 years ago

I have the same error. Works fine in jupyter, but I really want to use Atom.