无忧启动论坛

 找回密码
 注册
搜索

电脑安装了pytjon双击py文件怎么就不能运行?

查看数: 1282 | 评论数: 12 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
ge
发布时间: 2022-7-24 11:34

正文摘要:

手机变砖了,想在深度模式下刷机,可是要运行个py脚本,手机在不会退出深度模式,可是电脑已经安装了电脑安装了pytjon但是双击py文件不能运行,在CMD里输入python main.py就可以正常运行,这是什么原因?属性里面也 ...

回复

ge 发表于 2022-7-25 12:33:47
nttwqz 发表于 2022-7-24 12:33
话说,刷机还用的到Python?刷机脚本用Python写的?

不是,是https://www.xda-developers.com/b ... cation-requirement/
nttwqz 发表于 2022-7-24 12:33:51
话说,刷机还用的到Python?刷机脚本用Python写的?
ge 发表于 2022-7-24 12:18:56
nttwqz 发表于 2022-7-24 12:07
是不是安装的时候没有勾选py luncher、Associate files with Python (requires the by luncher)

手动修改下默认程序就好了,不知道为什么没有默认让主程序打开,在安装程序里面也没有,后来浏览的
ge 发表于 2022-7-24 12:16:05
nttwqz 发表于 2022-7-24 12:07
是不是安装的时候没有勾选py luncher、Associate files with Python (requires the by luncher)

5不是4,弄错了
ge 发表于 2022-7-24 12:15:18
nttwqz 发表于 2022-7-24 12:07
是不是安装的时候没有勾选py luncher、Associate files with Python (requires the by luncher)

我找到图片了,也想起来了,py luncher选上了,Associate files with Python (requires the by luncher)也有了
好像有个让把第一个和第四个也选上,反正我是这样做的
ge 发表于 2022-7-24 12:13:04
nttwqz 发表于 2022-7-24 12:07
是不是安装的时候没有勾选py luncher、Associate files with Python (requires the by luncher)

我也忘记了,反正按照教程做的,图片上有哪个就选哪个了,我看看图片吧
nttwqz 发表于 2022-7-24 12:07:38
是不是安装的时候没有勾选py luncher、Associate files with Python (requires the by luncher)
ge 发表于 2022-7-24 12:06:07
用必应搜索把绕过联发科存储身份认证翻译成英文的结果翻,找到了https://www.xda-developers.com/b ... cation-requirement/页面,以为是过程有问题呢,发现少了个pip install pyusb pyserial json5,但是都按着做了,结果还是一样
ge 发表于 2022-7-24 11:52:30

英文看不懂
ge 发表于 2022-7-24 11:52:06

浏览下主程序就好了,不知道在程序里面的是什么,原来以为就是这个呢
2010桥段 发表于 2022-7-24 11:48:54
yes,it is true

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2026-1-18 22:34

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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