Describe the bug
uv add nemo-toolkit[all]
× Failed to build `pathtools==0.1.2`
├─▶ The build backend returned an error
╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)
ModuleNotFoundError: No module named 'imp'
hint: This error likely indicates that `pathtools@0.1.2` depends on `imp`, but doesn't declare it as a build dependency. If `pathtools` is a first-party package, consider adding `imp` to its `build-system.requires`. Otherwise, either add it to your `pyproject.toml` under:
[tool.uv.extra-build-dependencies]
pathtools = ["imp"]
Steps/Code to reproduce bug
Try to install nemo with python 3.14 (prob also 3.12). This error appears because imp is deprecated and was removed from python 3.12
Expected behavior
it should install, get rid of dep. imports.
Environment overview (please complete the following information)
- ubuntu 24.04
- latest nemo
- python 3.14
Environment details
If NVIDIA docker image is used you don't need to specify these.
Otherwise, please provide:
- OS version
- PyTorch version
- Python version
Additional context
Add any other context about the problem here.
Example: GPU model
Describe the bug
Steps/Code to reproduce bug
Try to install nemo with python 3.14 (prob also 3.12). This error appears because imp is deprecated and was removed from python 3.12
Expected behavior
it should install, get rid of dep. imports.
Environment overview (please complete the following information)
Environment details
If NVIDIA docker image is used you don't need to specify these.
Otherwise, please provide:
Additional context
Add any other context about the problem here.
Example: GPU model