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

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

[复制链接]

2

主题

4

回帖

117

积分

提示词程序员

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

本帖子中包含更多资源

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

×

28

主题

91

回帖

2715

积分

超级版主

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

7

主题

8

回帖

290

积分

版主

积分
290
发表于 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, 5-11-2025 05:43 , Processed in 0.069487 second(s), 22 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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