MTK-bypass / exploits_collection

289 stars 100 forks source link

Problem module serial has no serial attribute #46

Open RosendoVazquez opened 1 year ago

RosendoVazquez commented 1 year ago

im having this error

File "D:\Descargas\VD171_MTK-bypass-v1.5\Bypass\src\device.py", line 67, in serial_ports s = serial.Serial(port_device, timeout=TIMEOUT) ^^^^^^^^^^^^^ AttributeError: module 'serial' has no attribute 'Serial'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "D:\Descargas\VD171_MTK-bypass-v1.5\Bypass\main.py", line 213, in main() File "D:\Descargas\VD171_MTK-bypass-v1.5\Bypass\main.py", line 42, in main device = Device().find() ^^^^^^^^^^^^^^^ File "D:\Descargas\VD171_MTK-bypass-v1.5\Bypass\src\device.py", line 28, in find new = self.serial_ports() ^^^^^^^^^^^^^^^^^^^ File "D:\Descargas\VD171_MTK-bypass-v1.5\Bypass\src\device.py", line 70, in serial_ports except (OSError, serial.SerialException): ^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'serial' has no attribute 'SerialException'