Python Package

Use Roboflow in your Python code.

The Roboflow Python package is a wrapper around the Roboflow REST API, providing abstract methods for interacting with Roboflow in Python code.

The Python package offers methods for managing projects and workspaces, uploading and downloading datasets, running inference on models, uploading model weights, and more.

Examples and references for using methods in the Python package are documented in the API Reference documentation.

Resources

Installation

To install this package, you must use Python 3.8 or a more recent version of Python.

To install the Roboflow Python package, run the following command:

pip install roboflow

Microsoft Visual C++ Instructions

Microsoft Visual C++ redistributable, is needed for some Python packages. You can download it from the official Microsoft website:

For x64 systems: https://aka.ms/vs/16/release/vc_redist.x64.exe

For x86 systems: https://aka.ms/vs/16/release/vc_redist.x86.exe

After downloading the appropriate file, run the installer and follow the prompts to install the redistributable.

Last updated