Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError: [WinError 2] #68

Open
Koshkodav opened this issue Nov 8, 2024 · 0 comments
Open

FileNotFoundError: [WinError 2] #68

Koshkodav opened this issue Nov 8, 2024 · 0 comments

Comments

@Koshkodav
Copy link

Koshkodav commented Nov 8, 2024

Good localtime!
I have the problem.
Phone - Poco M5
Current OS - MIUI Global 14.0.9 (TLUMIXM)
PC OS - Win10(x64)
Python - 3.12.2
Cable for connect - original
USB port version - 2.0

From console -

AccountInfo:
id: ** here is correct id **
region: RU
Ensure you're in Bootloader mode (fastboot mode)

Traceback (most recent call last):
  File "c:\MiUnlockTool-1.5.7\MiUnlockTool.py", line 296, in <module>
    unlocked = CheckB(cmd, "unlocked", "getvar", "unlocked")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\MiUnlockTool-1.5.7\MiUnlockTool.py", line 263, in CheckB
    process = subprocess.Popen([cmd] + list(fastboot_args), stdout=subprocess.PIPE, stderr=subprocess.PIPE, bufsize=1, universal_newlines=True)              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python\Lib\subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Python\Lib\subprocess.py", line 1538, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] Не удается найти указанный файл

Can you point out my mistake?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant