stata_kernel icon indicating copy to clipboard operation
stata_kernel copied to clipboard

Installation / Module Not Found

Open timobermeier opened this issue 4 years ago • 2 comments

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')

screenshot_install

timobermeier avatar Mar 22 '20 13:03 timobermeier

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

kylebarron avatar Mar 22 '20 16:03 kylebarron

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.

timobermeier avatar Mar 22 '20 17:03 timobermeier