Announcement

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

  • Python 3.8, error r(7100)

    I have been trying out the latest release of Python, 3.8.0, but when I try to use it I get the following error message:

    Code:
    [P]     error . . . . . . . . . . . . . . . . . . . . . . . . Return code 7100
            unable to initialize or release Python environment
            Stata attempted to initialize the Python environment but there
            was a problem which occurred when loading the dynamically
            linked library.  Error 7100 also arises when failing to free
            the library when exiting Stata if the Python environment has
            been initialized.
    Code:
    . python search
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     Python environments found:  
     C:\Python38\python.exe
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    . query python
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        Python settings
          set python_exec      C:\Python38\python.exe
          set python_userpath  
    
    . python describe
    r(7100);
    
    . python
    r(7100);
    Are there any additional configuration steps that I need?

    I had no problem with Python 3.7.

    Thank you,
    Martyn

    Stata 16 IC, 64 bit

  • #2
    There is a bug in the initial release of Python 3.8 that affects Stata. The bug has been reported and can be monitored here. Unfortunately, until the bug is fixed you will need to revert back to using Python 3.7 or earlier.

    Comment


    • #3
      James,
      Thank you for the information.
      Martyn

      Comment

      Working...
      X