Skip to content

The pip interfacepipインターフェース

uv provides a drop-in replacement for common pip, pip-tools, and virtualenv commands. These commands work directly with the virtual environment, in contrast to uv's primary interfaces where the virtual environment is managed automatically. The uv pip interface exposes the speed and functionality of uv to power users and projects that are not ready to transition away from pip and pip-tools.uvは一般的な pippip-tools、および virtualenv コマンドのドロップイン置き換えを提供します。これらのコマンドは、uvの主要なインターフェースとは対照的に、仮想環境と直接連携します。仮想環境は自動的に管理されます。 uv pip インターフェースは、uvの速度と機能をパワーユーザーや pip および pip-tools からの移行にまだ準備ができていないプロジェクトに提供します。

The following sections discuss the basics of using uv pip:以下のセクションでは、 uv pip の基本的な使用法について説明します:

Please note these commands do not exactly implement the interfaces and behavior of the tools they are based on. The further you stray from common workflows, the more likely you are to encounter differences. Consult the pip-compatibility guide for details.これらのコマンドは、基にしているツールのインターフェースや動作を正確に実装しているわけではないことに注意してください。一般的なワークフローから逸脱すればするほど、違いに遭遇する可能性が高くなります。詳細については、pip互換ガイドを参照してください。

Important重要

uv does not rely on or invoke pip. The pip interface is named as such to highlight its dedicated purpose of providing low-level commands that match pip's interface and to separate it from the rest of uv's commands which operate at a higher level of abstraction.uvはpipに依存せず、pipを呼び出すこともありません。pipインターフェースは、pipのインターフェースに一致する低レベルのコマンドを提供する専用の目的を強調し、uvの他のコマンドとは異なる高い抽象レベルで動作することを示すためにそのように名付けられています。