Bug#1123866: statsmodels: FTBFS on all: ModuleNotFoundError: No module named 'statsmodels'

Sebastian Ramacher sramacher at debian.org
Tue Dec 23 09:47:16 GMT 2025


Source: statsmodels
Version: 0.14.6+dfsg-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org

Dear maintainer,

statsmodels FTBFS on all:

PYTHONPATH= \
BUILDDIR=/build/reproducible-path/statsmodels-0.14.6+dfsg/build \
STATSMODELS_DATA=/build/reproducible-path/statsmodels-0.14.6+dfsg/build/datacache/ \
 LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 make -C docs html
make[2]: Entering directory '/build/reproducible-path/statsmodels-0.14.6+dfsg/docs'
Make static directory for images
mkdir -p build/html/_static
# generate the examples rst files
Generating datasets from installed statsmodels.datasets
../tools/dataset_rst.py
Traceback (most recent call last):
  File "/build/reproducible-path/statsmodels-0.14.6+dfsg/docs/../tools/dataset_rst.py", line 14, in <module>
    import statsmodels.api as sm
ModuleNotFoundError: No module named 'statsmodels'
make[2]: *** [Makefile:34: html] Error 1
make[2]: Leaving directory '/build/reproducible-path/statsmodels-0.14.6+dfsg/docs'
make[1]: *** [debian/rules:53: execute_after_dh_auto_build-indep] Error 2
make[1]: Leaving directory '/build/reproducible-path/statsmodels-0.14.6+dfsg'
make: *** [debian/rules:31: binary-indep] Error 2
dpkg-buildpackage: error: debian/rules binary-indep subprocess failed with exit status 2

See
https://buildd.debian.org/status/fetch.php?pkg=statsmodels&arch=all&ver=0.14.6%2Bdfsg-1&stamp=1766443667&raw=0
for details.

Cheers
-- 
Sebastian Ramacher



More information about the debian-science-maintainers mailing list