← All tasks
pythonchainer/chainer #679Reported task

ImportError when installing chainer 1.5 via pip

envgap__chainer__chainer-679

01 / FAILURE SIGNATURE

Captured in a clean container

When I tried to install chainer v1.5 via PyPI, I got the ImportError:

02 / ENVIRONMENT RECIPE

Base commit
c91fe82b51b4eab6593bb3c06b2bc92706abc4b9
Manifest
setup.py
Reproduce
python3 -m pip install --no-build-isolation .
Run under trace
python3 -c "import importlib; m=importlib.import_module('chainer'); print(getattr(m,'__version__','ok'))"

03 / ORIGINAL ISSUE TEXT

chainer/chainer #679 · read the original issue
When I tried to install chainer v1.5 via PyPI, I got the ImportError:

```
$ pip install chainer
Collecting chainer
  Using cached chainer-1.5.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-CB4n6T/chainer/setup.py", line 7, in <module>
        import chainer_setup_build
    ImportError: No module named chainer_setup_build

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-CB4n6T/chainer
```

Do you have got any advice?
Continue on GitHub ↗

04 / LABELS

Labels checked by running the task · needs human review

No supported category has been assigned.

Label rules and the text that matched
[]

Historical install-only results are not EnvGap validation.

Default recipe; commands are ecosystem conventions, not issue-specific.

Proposed by batch curation; baseline wall 35s

Preparation uses current registries. Historical package availability is not enforced here; execution metadata records this limitation separately from the oracle's date-bounding policy.

Excluded from scoring after admission: setup.py declares install_requires as a static list but then appends h5py conditionally; the manifest parser refuses dynamic setup.py declarations, so the original D1 cannot be measured. Excluded uniformly from every run until a curated static manifest exists.