Skip to content

Issues with stata_kernel in Atom (Hydrogen) #414

@StaffanBetner

Description

@StaffanBetner

Problem description

I am having troubles importing the kernel in Atom. It works fine in Jupyter!

Debugging log

I get this traceback in Atom (user name redacted):

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

Other information

  • Operating System
    Windows 10
  • Stata version
    Stata/SE 14
  • Package version (You can find this by running pip show stata_kernel in your terminal.)
    1.12.2-py39hcbf5309_1
  • Hydrogen version
    2.16.3
  • Atom version
    1.58.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions