skip to Main Content
$ pip install --no-build-isolation --editable .

Usage:   
  pip install [options] <requirement specifier> [package-index-options] ...
  pip install [options] -r <requirements file> [package-index-options] ...
  pip install [options] [-e] <vcs project url> ...
  pip install [options] [-e] <local project path> ...
  pip install [options] <archive url/path> ...

no such option: --no-build-isolation

The above works on Ubuntu but not in CentOS.

2

Answers


  1. In certain cases, projects (or redistributors) may have workflows that explicitly manage the build environment. For such workflows, build isolation can be problematic. If this is the case, pip provides a –no-build-isolation flag to disable build isolation. Users supplying this flag are responsible for ensuring the build environment is managed appropriately (including ensuring that all required build dependencies are installed).


    It is from pip documentation v21.1.3, check your pip version.

    If you need upgrade, use python -m pip install --upgrade pip

    Login or Signup to reply.
  2. There is probably a different version of pip being used in Ubuntu than CentOS.
    You can check the version via python3 -m pip --version

    But since the comand says no such option you’re version of pip is most likely too old.

    To upgrade

    python3 -m pip install --upgrade pip

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search