Source: pytorch-vision
Version: 0.8.2-1
Severity: serious
Tags: ftbfs bookworm sid
https://buildd.debian.org/status/logs.php?pkg=pytorch-vision=0.8.2-1%2Bb3
...
dh clean -Spybuild --with python3
dh_auto_clean -O-Spybuild
I: pybuild base:237: python3.9 setup.py clean
Traceback (most recent call last):
File "/<>/setup.py", line 12, in
import torch
File "/usr/lib/python3/dist-packages/torch/__init__.py", line 213, in
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:6: clean] Error 25
https://sources.debian.org/src/pytorch-vision/0.8.2-1/debian/control/#L28