Skip to content

numpy successfully installed from requirements.txt, but import fails #12639

@kostrykin

Description

@kostrykin

Details

Expected Result

The build should finish successfully. It did so half a year ago, and there were no critical changes to the code since then.

Actual Result

From the raw build log:

Collecting numpy>=1.18 (from -r requirements.txt (line 1))
Downloading numpy-2.3.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (62 kB)

So NumPy is downloaded…

Successfully installed imageio-2.37.2 lazy-loader-0.4 networkx-3.6 numpy-2.3.5 pandas-2.3.3 pillow-12.0.0 python-dateutil-2.9.0.post0 pytz-2025.2 scikit-image-0.25.2 scipy-1.16.3 six-1.17.0 tifffile-2025.10.16 typing-extensions-4.15.0 tzdata-2025.2

…and NumPy is installed successfully, but then:

File "/home/docs/checkouts/readthedocs.org/user_builds/giatools/checkouts/15/giatools/image.py", line 8, in
⠀import numpy as np
ModuleNotFoundError: No module named 'numpy'
[end of output]

Metadata

Metadata

Assignees

No one assigned

    Labels

    SupportSupport question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions