nb_cli.handlers.pip
async def call_pip(pip_args=None, *, python_path=None, stdin=None, stdout=None, stderr=None)
参数
pip_args
(list[str] | None)python_path
(str | None)stdin
(IO[Any] | int | None)stdout
(IO[Any] | int | None)stderr
(IO[Any] | int | None)
返回
- asyncio.subprocess.Process
async def call_pip_install(package, pip_args=None, *, python_path=None, stdin=None, stdout=None, stderr=None)
参数
package
(str | list[str])pip_args
(list[str] | None)python_path
(str | None)stdin
(IO[Any] | int | None)stdout
(IO[Any] | int | None)stderr
(IO[Any] | int | None)
返回
- asyncio.subprocess.Process
async def call_pip_update(package, pip_args=None, *, python_path=None, stdin=None, stdout=None, stderr=None)
参数
package
(str | list[str])pip_args
(list[str] | None)python_path
(str | None)stdin
(IO[Any] | int | None)stdout
(IO[Any] | int | None)stderr
(IO[Any] | int | None)
返回
- asyncio.subprocess.Process
async def call_pip_uninstall(package, pip_args=None, *, python_path=None, stdin=None, stdout=None, stderr=None)
参数
package
(str | list[str])pip_args
(list[str] | None)python_path
(str | None)stdin
(IO[Any] | int | None)stdout
(IO[Any] | int | None)stderr
(IO[Any] | int | None)
返回
- asyncio.subprocess.Process
async def call_pip_list(pip_args=None, *, python_path=None, stdin=None, stdout=None, stderr=None)
参数
pip_args
(list[str] | None)python_path
(str | None)stdin
(IO[Any] | int | None)stdout
(IO[Any] | int | None)stderr
(IO[Any] | int | None)
返回
- asyncio.subprocess.Process