offici5l / MiUnlockTool

MiUnlockTool developed to retrieve encryptData(token) for Xiaomi devices for unlocking bootloader, It is compatible with all platforms.
Apache License 2.0
290 stars 17 forks source link

I have the following problem #67

Closed liumingyuer closed 1 week ago

liumingyuer commented 1 week ago

My phone model:mi11 area:China System version:hyperOS 1.0.1.0 my Mac tried running MiUnlockTool.py

Traceback (most recent call last): File "/Users/liumingyue/Library/Mobile Documents/com~apple~CloudDocs/Downloads/MiUnlockTool.py", line 21, in import re, requests, json, hmac, random, binascii, urllib, hashlib, io, urllib.parse, time, sys, urllib.request, zipfile, webbrowser, platform, subprocess, shutil, stat, datetime, threading ModuleNotFoundError: No module named 'requests'

offici5l commented 1 week ago

open your terminal run :

pip install requests pycryptodomex urllib3 colorama