Skip to content

pip install requires --no-build-isolation #3704

Closed
@blueyed

Description

@blueyed

Trying to install aiohttp from the Git repo results in:

% pip install -e .
…
  Getting requirements to build wheel ... error
  Complete output from command /home/daniel/.pyenv/versions/tmp-system-aiohttp-n3RpAV/bin/python /home/daniel/.pyenv/versions/tmp-system-aiohttp-n3RpAV/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmp23d44iu3:
  Install cython when building from git clone
  Hint:
    pip install cython

  ----------------------------------------
Command "/home/daniel/.pyenv/versions/tmp-system-aiohttp-n3RpAV/bin/python /home/daniel/.pyenv/versions/tmp-system-aiohttp-n3RpAV/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmp23d44iu3" failed with error code 1 in /home/daniel/Vcs/aiohttp

However cython is installed already, and this is caused by pip using a special mode since there is a pyproject.toml file. pip install --no-build-isolation -e . works.

See pypa/pip#5416 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions