Mac OS gives error "python quit unexpectedly" when there is a error in the code

Hi all,

I just change my development environment from Linux to Mac,

but there is a problem:

When testing the python code and there is an error like “IndexError” or other the program stop but

the Mac OS gives the error “error python quit unexpectedly” always!

It is very annoying to close another dialog every time it as an error.

How can I stop OSX to give this error?

 

Thank you in advance.

Upload id: 2023_12_14_ksFcPJUP5nMHjNqWuE582f (file: Screenshot 2023-12-14 at 22.15.22.png)

 

 

0
1 comment
Hello,
Please try activating the required Python environment in the system terminal and check if running the same script produces the same error outside PyCharm. 
If it does, try creating a new Python virtual environment and check if the problem affects it. If the issue continues with the newly created virtual environment, try installing Python from python.org and check if it helps to resolve the problem.
0

Please sign in to leave a comment.