找回密码
 立即注册
搜索
热搜: 活动 交友
查看: 3789|回复: 2

有人可以帮忙吗?mac上python下下来打不开

[复制链接]

2

主题

5

回帖

143

积分

初级程序员

积分
143
发表于 2-22-2025 20:38:35 | 显示全部楼层 |阅读模式
就按照这里的教程下载了,结果打不开

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

24

主题

55

回帖

2675

积分

超级版主

积分
2675
发表于 2-22-2025 21:19:32 | 显示全部楼层
需要有用Mac的同学来回答了,我是Windows用户。不过有没有可能是CPU版本不对?

8

主题

13

回帖

337

积分

版主

积分
337
发表于 2-22-2025 21:31:30 | 显示全部楼层
本帖最后由 littleblackLB 于 2-22-2025 21:32 编辑

"A common cause of failure is a user-written file with the same name as a standard library module, such as random.py and tkinter.py. When such a file is located in the same directory as a file that is about to be run, IDLE cannot import the stdlib file. The current fix is to rename the user file."
https://docs.python.org/3/library/idle.html#startup-failure
https://stackoverflow.com/a/30139672/17057870

所以,可以检查一下被运行的代码中是否有干扰到 built-in 库的代码
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|RealDevClub ( 沪ICP备2024093864号-1 )

GMT+8, 6-27-2025 04:15 , Processed in 0.071973 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表