You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been importing some stdlibs by hand and most are working fine (collections/datetime/etc). However after a lot of attempts I can't get code such as the following to work:
fromfunctoolsimportwraps
The error is: ImportError: no module named 'functools.wraps'
The test partial file does this, so it should be possible. I have tried with multiple versions and used mip as well which throws the same error. It is the same when attempting to import the partial function as well.
I am building this for the esp32 port and have tried esp-idf 5.2.2 and 5.4. I see no recent changes to the functools.py file in years so I'm not sure what else could've changed.
Thank you.
The text was updated successfully, but these errors were encountered:
I have been importing some stdlibs by hand and most are working fine (collections/datetime/etc). However after a lot of attempts I can't get code such as the following to work:
The error is:
ImportError: no module named 'functools.wraps'
The test partial file does this, so it should be possible. I have tried with multiple versions and used
mip
as well which throws the same error. It is the same when attempting to import thepartial
function as well.I am building this for the esp32 port and have tried esp-idf 5.2.2 and 5.4. I see no recent changes to the
functools.py
file in years so I'm not sure what else could've changed.Thank you.
The text was updated successfully, but these errors were encountered: