Console exiting unexpectedly using Jupyter notebook and statsmodels #9242
Unanswered
chuckgrigsby0
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Can you say more about how you are running this code? I am not having trouble running this type of code in a Jupyter notebook like you describe: ![]() |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, everyone,
I have an issue with running a Jupyter notebook in Positron. I am following the

statsmodels
website to fit regression models using R-like formula. Everything runs fine until I tryres = mod.fit()
, where Positron gives me an error stating the console exited unexpectedly.Also, the code seems to run indefinitely. The only way to stop this process is to close Positron and reopen it.
I verified that I can run this code in Jupyter lab without errors. I also created a separate python script and ran the code inside Positron but through the Terminal. I get the expected output. My environment only contains the installation of
statsmodels
. The issue seems to be with respect to the console and Positron. I searched the Discussion board, but I did not find any similar problems. If I can provide additional details, please let me know. I am new to Positron, so if this is an easy fix, my apologies. I appreciate any help.Beta Was this translation helpful? Give feedback.
All reactions