Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Issue Installing PyStata

    Hello!

    I'm launching Stata from Jupyter notebook (using Anaconda) on a Mac. I'm following this guide: https://www.jamelsaadaoui.com/wp-con...ta-17_web.html

    When I locate the folder containing Stata17 using display(c(sysdir_stata), I get the following output "/Applications/Stata17/".
    In Jupyter notebook, I enter the following

    import stata_setup
    stata_setup.config('C:\Applications\Stata17/', 'be')

    and get the error in the image attached. I'm not sure how to fix this error. Thank you for your help!

    Attached Files

  • #2
    Try:

    Code:
    import stata_setup
    stata_setup.config('/Applications/Stata17/', 'be')

    Comment


    • #3
      Originally posted by Hua Peng (StataCorp) View Post
      Try:

      Code:
      import stata_setup
      stata_setup.config('/Applications/Stata17/', 'be')
      Thank you very much! This solved my issue.

      Comment

      Working...
      X