Skip to content

关于给A45编译后遇到的问题 #5

Description

@1551633

我所参考的教程(倒不如说是照葫芦画瓢):https://www.zouht.com/3550.html
在4.2步骤尝试运行安装脚本时,使用python .\llusbdac_installer.py时会跳出这样的traceback:
File "C:\Users\admin\llusbdac\llusbdac_installer.py", line 58, in
safeloader_ko = load_ko(os.path.join(safeloader_dir, "safeloader.ko"))
File "C:\Users\admin\llusbdac\llusbdac_installer.py", line 52, in load_ko
with open(filepath, "rb") as f:
FileNotFoundError: 【Errno 2】 No such file or directory: 'safeloader\safeloader.ko'
也就是找不到这些文件(没权限调不出来?)然后就不了了之了

而直接双击打开llusbdac_installer.py时,在同目录里存在NW-ZX300_V2_02.exe时才能在walkman里产生安装脚本

本萌新想请教的是
1.python打开文件的时候使用的相对路径是以什么为参照的
2.上述产生的安装脚本是否可用于A45

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions