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

no module named 'imp' #2

Closed
veitch123 opened this issue Jun 30, 2024 · 2 comments
Closed

no module named 'imp' #2

veitch123 opened this issue Jun 30, 2024 · 2 comments

Comments

@veitch123
Copy link

`Collecting audioread==3.0.0 (from -r requirements.txt (line 15))
Using cached audioread-3.0.0.tar.gz (377 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/private/var/folders/xt/yb5btvp501ngl71d59j030840000gp/T/pip-install-mkr1aw5o/audioread_88bf52e368d24a36a5be9fb6eb2ca323/setup.py", line 17, in
import imp
ModuleNotFoundError: No module named 'imp'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
`

@veitch123
Copy link
Author

Apparently this is because "imp is deprecated and is turned into importlib in 3.12."

https://github.com/BradenM/micropy-cli/issues/575#

@omine-me
Copy link
Owner

omine-me commented Jul 8, 2024

Thank you for sharing that Python<=3.11 is recommended.

@omine-me omine-me closed this as completed Jul 8, 2024
omine-me added a commit that referenced this issue Jul 8, 2024
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

2 participants