Source: pytorch-audio
Version: 0.7.2-1
Severity: serious
Tags: ftbfs bookworm sid

https://buildd.debian.org/status/logs.php?pkg=pytorch-audio&ver=0.7.2-1%2Bb3

...
I: pybuild base:237: python3.9 setup.py clean 
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 9, in <module>
    from build_tools import setup_helpers
  File "/<<PKGBUILDDIR>>/build_tools/setup_helpers/__init__.py", line 1, in 
<module>
    from .extension import *  # noqa
  File "/<<PKGBUILDDIR>>/build_tools/setup_helpers/extension.py", line 6, in 
<module>
    from torch.utils.cpp_extension import (
  File "/usr/lib/python3/dist-packages/torch/__init__.py", line 213, in <module>
    raise ImportError(textwrap.dedent('''
ImportError: Failed to load PyTorch C extensions:
    It appears that PyTorch has loaded the `torch/_C` folder
    of the PyTorch repository rather than the C extensions which
    are expected in the `torch._C` namespace. This can occur when
    using the `install` workflow. e.g.
        $ python setup.py install && python -c "import torch"

    This error can generally be solved using the `develop` workflow
        $ python setup.py develop && python -c "import torch"  # This should 
succeed
    or by running Python from a different directory.
E: pybuild pybuild:367: clean: plugin distutils failed with: exit code=1: 
python3.9 setup.py clean 
dh_auto_clean: error: pybuild --clean -i python{version} -p 3.9 returned exit 
code 13
make: *** [debian/rules:5: clean] Error 25



https://sources.debian.org/src/pytorch-audio/0.7.2-1/debian/control/#L25

Reply via email to