MTK-bypass / bypass_utility

MIT License
505 stars 120 forks source link

No module named 'serial' #96

Open Osanosa opened 1 year ago

Osanosa commented 1 year ago

Traceback (most recent call last): File "C:\Users\Osanosa\Downloads\Compressed\bypass_utility-1.3\main.py", line 3, in from src.exploit import exploit File "C:\Users\Osanosa\Downloads\Compressed\bypass_utility-1.3\src\exploit.py", line 2, in from serial.serialutil import SerialException ModuleNotFoundError: No module named 'serial' pip install serial Collecting serial Downloading serial-0.0.97-py2.py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.9/40.9 kB 990.1 kB/s eta 0:00:00 Collecting future>=0.17.1 Downloading future-0.18.2.tar.gz (829 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 829.2/829.2 kB 4.8 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting pyyaml>=3.13 Downloading PyYAML-6.0-cp311-cp311-win_amd64.whl (143 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.2/143.2 kB 8.3 MB/s eta 0:00:00 Collecting iso8601>=0.1.12 Downloading iso8601-1.1.0-py3-none-any.whl (9.9 kB) Installing collected packages: pyyaml, iso8601, future, serial DEPRECATION: future is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for future ... done Successfully installed future-0.18.2 iso8601-1.1.0 pyyaml-6.0 serial-0.0.97 PS C:\Users\Osanosa\Downloads\Compressed\bypass_utility-1.3> py -3 main.py Traceback (most recent call last): File "C:\Users\Osanosa\Downloads\Compressed\bypass_utility-1.3\main.py", line 3, in from src.exploit import exploit File "C:\Users\Osanosa\Downloads\Compressed\bypass_utility-1.3\src\exploit.py", line 2, in from serial.serialutil import SerialException ModuleNotFoundError: No module named 'serial.serialutil' PS C:\Users\Osanosa\Downloads\Compressed\bypass_utility-1.3> pip install serial.serialutil ERROR: Could not find a version that satisfies the requirement serial.serialutil (from versions: none) ERROR: No matching distribution found for serial.serialutil PS C:\Users\Osanosa\Downloads\Compressed\bypass_utility-1.3>

EllsCafe commented 1 year ago

You have to run 'pip install serial' then either it works or it pops another error

AmoghPrashanth commented 1 week ago

did you find solution?

Osanosa commented 1 week ago

Nah