Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MacOS 11 or later required! error on PyCharm

Tags:

python

macos

I am learning how to use python by watching some online videos. When I run the code below using PyCharm, I get the following:

macOS 11 or later required!

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

I have an M1 Mac mini with macOS Big Sur 11.1. This was happening when I had Python 3.8.2. Then, I installed Python 3.9.1. I keep getting the same error. How can I fix this?

import turtle

bob = turtle.Turtle()

print(bob)
like image 994
EITB Avatar asked Dec 25 '20 22:12

EITB


1 Answers

If you used Homebrew to do your Python installation, there have been some reported issues with Python3 installs via brew (Source 1, Source 2). Updates are always in the works though, so you could try remedying your problem first with a brew update. If the issue persists, the current recommendation is to actually install Python directly from their site (Similar issue with fix reported).

In conclusion, if using brew, try a brew update first, if that doesn't fix your issue, install Python directly!

brew update && brew upgrade
like image 176
Chioke Aarhus Avatar answered Sep 30 '22 16:09

Chioke Aarhus