Stata Kernel for Jupyter

Install Stata kernel to allow Jupyter users to create and run Stata files in Jupyter Notebooks:

pip install stata_kernel
python -m stata_kernel.install

Ensure that the stata_kernel is installed correctly:

nano .stata_kernel.conf

Use CTRL+O then enter to overwrite the document and CTRL+X to exit.

Make sure stata_path is pointing to the correct executable. It can be different depending on your Stata version.

Copy the configuration file to system configuration for all users:

cp .stata_kernel.conf /etc/stata_kernel.conf 

Last updated