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

Problem module serial has no serial attribute #46

Open
RosendoVazquez opened this issue Jul 23, 2023 · 0 comments
Open

Problem module serial has no serial attribute #46

RosendoVazquez opened this issue Jul 23, 2023 · 0 comments

Comments

@RosendoVazquez
Copy link

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'

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