Open StaffanBetner opened 2 years ago
If it works fine in Jupyter, that means the Python environment that Atom is using is different from the global one that Jupyter is using. In that case, the easiest workaround is to set environment variables in your terminal before launching Atom, so that it's pointign to the same Python as Jupyter. You should be able to verify they're the same by making sure import sys; sys.executable
is the same in both Python environments. Then if stata_kernel works in one it should also work in the other.
It is the same Python environment. I have setup an R kernel as well which works in both Jupyter and Atom. This seems to be the same error: https://github.com/nteract/hydrogen/issues/2126
After starting Atom within the Anaconda prompt it works. So you were right in some way. Need to figure out how!
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):
Other information
pip show stata_kernel
in your terminal.) 1.12.2-py39hcbf5309_1