image.png

    1. pip install -v -e .
    1. -e, --editable <path/url> Install a project in editable mode (i.e. setuptools "develop mode") from a local project
    2. path or a VCS url.
    1. (cpu_only) table_detection git:(master) pip install -h
    2. Usage:
    3. pip install [options] <requirement specifier> [package-index-options] ...
    4. pip install [options] -r <requirements file> [package-index-options] ...
    5. pip install [options] [-e] <vcs project url> ...
    6. pip install [options] [-e] <local project path> ...
    7. pip install [options] <archive url/path> ...
    8. Description:
    9. Install packages from:
    10. - PyPI (and other indexes) using requirement specifiers.
    11. - VCS project urls.
    12. - Local project directories.
    13. - Local or remote source archives.
    14. pip also supports installing from "requirements files", which provide
    15. an easy way to specify a whole environment to be installed.
    16. Install Options:
    17. -r, --requirement <file> Install from the given requirements file. This option can be used multiple times.
    18. -c, --constraint <file> Constrain versions using the given constraints file. This option can be used multiple times.
    19. --no-deps Don't install package dependencies.
    20. --pre Include pre-release and development versions. By default, pip only finds stable versions.
    21. -e, --editable <path/url> Install a project in editable mode (i.e. setuptools "develop mode") from a local project
    22. path or a VCS url.
    23. -t, --target <dir> Install packages into <dir>. By default this will not replace existing files/folders in
    24. <dir>. Use --upgrade to replace existing packages in <dir> with new versions.
    25. --platform <platform> Only use wheels compatible with <platform>. Defaults to the platform of the running system.
    26. Use this option multiple times to specify multiple platforms supported by the target
    27. interpreter.
    28. --python-version <python_version>
    29. The Python interpreter version to use for wheel and "Requires-Python" compatibility checks.
    30. Defaults to a version derived from the running interpreter. The version can be specified
    31. using up to three dot-separated integers (e.g. "3" for 3.0.0, "3.7" for 3.7.0, or "3.7.3").
    32. A major-minor version can also be given as a string without dots (e.g. "37" for 3.7.0).
    33. --implementation <implementation>
    34. Only use wheels compatible with Python implementation <implementation>, e.g. 'pp', 'jy',
    35. 'cp', or 'ip'. If not specified, then the current interpreter implementation is used. Use
    36. 'py' to force implementation-agnostic wheels.
    37. --abi <abi> Only use wheels compatible with Python abi <abi>, e.g. 'pypy_41'. If not specified, then the
    38. current interpreter abi tag is used. Use this option multiple times to specify multiple abis
    39. supported by the target interpreter. Generally you will need to specify --implementation,
    40. --platform, and --python-version when using this option.
    41. --user Install to the Python user install directory for your platform. Typically ~/.local/, or
    42. %APPDATA%\Python on Windows. (See the Python documentation for site.USER_BASE for full
    43. details.)
    44. --root <dir> Install everything relative to this alternate root directory.
    45. --prefix <dir> Installation prefix where lib, bin and other top-level folders are placed
    46. --src <dir> Directory to check out editable projects into. The default in a virtualenv is "<venv
    47. path>/src". The default for global installs is "<current dir>/src".
    48. -U, --upgrade Upgrade all specified packages to the newest available version. The handling of dependencies
    49. depends on the upgrade-strategy used.
    50. --upgrade-strategy <upgrade_strategy>
    51. Determines how dependency upgrading should be handled [default: only-if-needed]. "eager" -
    52. dependencies are upgraded regardless of whether the currently installed version satisfies
    53. the requirements of the upgraded package(s). "only-if-needed" - are upgraded only when they
    54. do not satisfy the requirements of the upgraded package(s).
    55. --force-reinstall Reinstall all packages even if they are already up-to-date.
    56. -I, --ignore-installed Ignore the installed packages, overwriting them. This can break your system if the existing
    57. package is of a different version or was installed with a different package manager!
    58. --ignore-requires-python Ignore the Requires-Python information.
    59. --no-build-isolation Disable isolation when building a modern source distribution. Build dependencies specified
    60. by PEP 518 must be already installed if this option is used.
    61. --use-pep517 Use PEP 517 for building source distributions (use --no-use-pep517 to force legacy
    62. behaviour).
    63. --install-option <options> Extra arguments to be supplied to the setup.py install command (use like --install-option="
    64. --install-scripts=/usr/local/bin"). Use multiple --install-option options to pass multiple
    65. options to setup.py install. If you are using an option with a directory path, be sure to
    66. use absolute path.
    67. --global-option <options> Extra global options to be supplied to the setup.py call before the install or bdist_wheel
    68. command.
    69. --compile Compile Python source files to bytecode
    70. --no-compile Do not compile Python source files to bytecode
    71. --no-warn-script-location Do not warn when installing scripts outside PATH
    72. --no-warn-conflicts Do not warn about broken dependencies
    73. --no-binary <format_control>
    74. Do not use binary packages. Can be supplied multiple times, and each time adds to the
    75. existing value. Accepts either ":all:" to disable all binary packages, ":none:" to empty the
    76. set (notice the colons), or one or more package names with commas between them (no colons).
    77. Note that some packages are tricky to compile and may fail to install when this option is
    78. used on them.
    79. --only-binary <format_control>
    80. Do not use source packages. Can be supplied multiple times, and each time adds to the
    81. existing value. Accepts either ":all:" to disable all source packages, ":none:" to empty the
    82. set, or one or more package names with commas between them. Packages without binary
    83. distributions will fail to install when this option is used on them.
    84. --prefer-binary Prefer older binary packages over newer source packages.
    85. --require-hashes Require a hash to check each requirement against, for repeatable installs. This option is
    86. implied when any package in a requirements file has a --hash option.
    87. --progress-bar <progress_bar>
    88. Specify type of progress to be displayed [off|on|ascii|pretty|emoji] (default: on)
    89. --no-clean Don't clean up build directories.
    90. Package Index Options:
    91. -i, --index-url <url> Base URL of the Python Package Index (default https://pypi.org/simple). This should point to
    92. a repository compliant with PEP 503 (the simple repository API) or a local directory laid
    93. out in the same format.
    94. --extra-index-url <url> Extra URLs of package indexes to use in addition to --index-url. Should follow the same
    95. rules as --index-url.
    96. --no-index Ignore package index (only looking at --find-links URLs instead).
    97. -f, --find-links <url> If a URL or path to an html file, then parse for links to archives such as sdist (.tar.gz)
    98. or wheel (.whl) files. If a local path or file:// URL that's a directory, then look for
    99. archives in the directory listing. Links to VCS project URLs are not supported.
    100. General Options:
    101. -h, --help Show help.
    102. --isolated Run pip in an isolated mode, ignoring environment variables and user configuration.
    103. -v, --verbose Give more output. Option is additive, and can be used up to 3 times.
    104. -V, --version Show version and exit.
    105. -q, --quiet Give less output. Option is additive, and can be used up to 3 times (corresponding to
    106. WARNING, ERROR, and CRITICAL logging levels).
    107. --log <path> Path to a verbose appending log.
    108. --no-input Disable prompting for input.
    109. --proxy <proxy> Specify a proxy in the form [user:passwd@]proxy.server:port.
    110. --retries <retries> Maximum number of retries each connection should attempt (default 5 times).
    111. --timeout <sec> Set the socket timeout (default 15 seconds).
    112. --exists-action <action> Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort.
    113. --trusted-host <hostname> Mark this host or host:port pair as trusted, even though it does not have valid or any
    114. HTTPS.
    115. --cert <path> Path to PEM-encoded CA certificate bundle. If provided, overrides the default. See 'SSL
    116. Certificate Verification' in pip documentation for more information.
    117. --client-cert <path> Path to SSL client certificate, a single file containing the private key and the certificate
    118. in PEM format.
    119. --cache-dir <dir> Store the cache data in <dir>.
    120. --no-cache-dir Disable the cache.
    121. --disable-pip-version-check
    122. Don't periodically check PyPI to determine whether a new version of pip is available for
    123. download. Implied with --no-index.
    124. --no-color Suppress colored output.
    125. --no-python-version-warning
    126. Silence deprecation warnings for upcoming unsupported Pythons.
    127. --use-feature <feature> Enable new functionality, that may be backward incompatible.
    128. --use-deprecated <feature> Enable deprecated functionality, that will be removed in the future.