stata_kernel
stata_kernel copied to clipboard
Installation / Module Not Found
One other issue I came across today: I was trying to install the kernel on a remote (unix) server where I'm working with the data and used the following steps:
source ~/Anaconda3/bin/activate
pip install stata_kernel python -m stata_kernel.install
The problem is with the "python -m ..." step because it throws an error:
"/users/obermeie/anaconda3/bin/python: Error while finding module specification for 'stata_kernel.install' (ModuleNotFoundError: No module named 'stata_kernel')
This is an unrelated issue, because the pip you’re invoking is linked to the non-Anaconda python. Use python -m pip
to make sure you’re using the same python executable for each
You mean the following?
python -m pip install stata_kernel python -m stata_kernel.install
That gives the same error. "which python" points to the right folder though.