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

ImportError: no module named 'functools.wraps' #974

Open
jadencodes opened this issue Feb 12, 2025 · 0 comments
Open

ImportError: no module named 'functools.wraps' #974

jadencodes opened this issue Feb 12, 2025 · 0 comments

Comments

@jadencodes
Copy link

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:

from functools import wraps

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.

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