I just upgraded to Stata 17 SE and am trying to import Stata to Jupyter Notebook for the first time. I am receiving an error that "No module named 'stata_setup.'" I have checked that my Anaconda is updated as well. How might I solve this issue?
I am using the method suggested at: https://www.stata.com/stata-news/new...yter-notebook/
I first get the following in Stata:
Code I am putting in my Python 3 Jupyter Notebook (I have also tried taking out the 'C:' as noted in the following Topic: https://www.statalist.org/forums/for...alling-pystata)
Error Returned:
I am using the method suggested at: https://www.stata.com/stata-news/new...yter-notebook/
I first get the following in Stata:
Code:
. display(c(sysdir_stata)) C:\Program Files\Stata17/
Code:
import stata_setup stata_setup.config('C:/Program Files/Stata17/', 'se')
--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-6-a76bcd0c1ed4> in <module> ----> 1 import stata_setup 2 stata_setup.config('/Program Files/Stata17/', 'se') ModuleNotFoundError: No module named 'stata_setup'
Comment