需要MacOS 11或更高版本!PyCharm错误 [英] MacOS 11 or later required! error on PyCharm

查看:360
本文介绍了需要MacOS 11或更高版本!PyCharm错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过观看一些在线视频来学习如何使用python.当我使用PyCharm运行以下代码时,我得到以下信息:

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或更高版本!

macOS 11 or later required!

以退出代码134(被信号6:SIGABRT中断)结束的过程

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

我有一个配备macOS Big Sur 11.1的M1 Mac mini.这是在我使用Python 3.8.2时发生的.然后,我安装了Python 3.9.1.我不断收到相同的错误.我该如何解决?

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)

推荐答案

如果您使用Homebrew进行Python安装,则通过brew(源2).不过更新总是在进行中,因此您可以尝试先通过Brew更新来解决问题.如果问题仍然存在,当前的建议是直接从他们的站点实际安装 Python (修复报告了类似的问题).

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).

最后,如果使用brew,请先尝试执行brew更新,如果仍不能解决问题,请直接安装Python!

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

brew update && brew upgrade

这篇关于需要MacOS 11或更高版本!PyCharm错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆