Hi @AlexandrErohin,
I encountered an error while testing new code for the Archer C1200 with the tplinkrouterc6u library. Here’s the error message:
File "C:\Users\*\AppData\Local\Programs\Python\Python312\Lib\site-packages\tplinkrouterc6u\enum.py", line 1, in <module>
from enum import Enum
ImportError: cannot import name 'Enum' from partially initialized module 'enum' (most likely due to a circular import) (C:\Users\*\AppData\Local\Programs\Python\Python312\Lib\site-packages\tplinkrouterc6u\enum.py)
This error is likely due to a filename conflict between enum.py in tplinkrouterc6u and Python's built-in enum module. The typical solution for this is to rename enum.py to avoid this conflict.
Would renaming enum.py to something like connection_enum.py be a suitable fix? Let me know if you also encounter this issue, or if there's a preferred way to address it.
Hi @AlexandrErohin, I encountered an error while testing new code for the Archer C1200 with the tplinkrouterc6u library. Here’s the error message:
This error is likely due to a filename conflict between enum.py in tplinkrouterc6u and Python's built-in enum module. The typical solution for this is to rename enum.py to avoid this conflict.
Would renaming enum.py to something like connection_enum.py be a suitable fix? Let me know if you also encounter this issue, or if there's a preferred way to address it.
Thanks!