Skip to main content
Module

x/python/ipy.ts>Pip#install

🐍 Python interpreter bindings for Deno and Bun.
Latest
method Pip.prototype.install
Re-export
import { Pip } from "https://deno.land/x/python@0.4.3/ipy.ts";

Install a Python module using the pip package manager.

Examples

Example 1

import { python } from "https://deno.land/x/python/mod.ts";
import { install } from "https://deno.land/x/python/ext/pip.ts";

await install("numpy");
const numpy = python.import("numpy");

Parameters

module: string

The Python module which you wish to install