from __future__ import annotations should be the first line of code
*** Error compiling 'C:\\develop\\MyPython\\micropython-p1meter\\venv\\Lib\\site-packages\\esp32.py'...
File "C:\develop\MyPython\micropython-p1meter\venv\Lib\site-packages\esp32.py", line 26
from __future__ import annotations
^
SyntaxError: from __future__ imports must occur at the beginning of the file
from __future__ import annotations
should be the first line of codeTo Reproduce pip install the docstubs
pip install C:\develop\MyPython\esp32-test-stubs\stubs\micropython-v1_17-docstubs -v
Additional context
Need to fid a way to test this ?