这个 Knock 脚本出了什么问题?

这个 Knock 脚本出了什么问题?

从文章看来如何在 Linux 上读取 ACSM 文件?不再受支持,但某些变体似乎可以工作。我在运行脚本之前做了

masi@masi:~/Downloads/knock-main$ sudo mv knock /usr/local/bin/

我的$路径:

masi@masi:~/Downloads/knock-main$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

我运行脚本:

masi@masi:~/Downloads/knock-main$ knock /home/masi/Downloads/URLLink.acsm 

输出

This device is not registered with Adobe.
Enter your Adobe account's email address: [email protected]
Enter your Adobe account's password: 
Registering this device with Adobe...
Traceback (most recent call last):
  File "/usr/local/bin/knock", line 32, in <module>
    result = subprocess.run([
             ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'adept-register'

操作系统:Debian最新
硬件:ASUS TUF DASH T15

相关内容