Hi everyone, I am following the guidance to insert IPYSTATA into my jupyter notebook,
. Here is the code, and I've checked that I registered the Stata17 as a administrator:
The output is
'
IPyStata is loaded in batch mode. So I think ipystata is successfully inserted in my code, then i deployed cell magic %%stata:
However, the result is :
'Failed to open Stata'
I still do not find out the reason .....
HTML Code:
GitHub - TiesdeKok/ipystata: Enables the use of Stata together with Python via Jupyter (IPython) notebooks.
Code:
import ipystata from ipystata.config import config_stata config_stata(r"D:\stata\StataSE-64.exe", force_batch=True)
'
IPyStata is loaded in batch mode. So I think ipystata is successfully inserted in my code, then i deployed cell magic %%stata:
Code:
%%stata display "Hello, I am printed in Stata."
'Failed to open Stata'
I still do not find out the reason .....
Comment