mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-08 20:18:59 +00:00
![dependabot-preview[bot]](/assets/img/avatar_default.png)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Franck Nijhof <git@frenck.dev>
23 lines
950 B
Markdown
23 lines
950 B
Markdown
---
|
|
title: "pip3: command not found"
|
|
description: "pip3: command not found"
|
|
ha_category: Installation
|
|
---
|
|
|
|
|
|
This utility should have been installed as part of the Python 3 installation. Check if Python 3 is installed by running `python3 --version`. If it is not installed, [download it here](https://www.python.org/getit/).
|
|
|
|
If you are able to successfully run `python3 --version` but not `pip3`, install Home Assistant by running the following command instead:
|
|
|
|
```bash
|
|
python3 -m pip install homeassistant
|
|
```
|
|
|
|
On a Debian system, you can also install python3 by `sudo apt-get install python3` and pip3 by `sudo apt-get install python3-pip`.
|
|
|
|
If you run into errors during installation, check that you've installed all the necessary prerequisite packages, which include `python3-dev`, `libffi-dev`, and `libssl-dev`. On a Debian-based system, you can install these via `apt-get`:
|
|
|
|
```bash
|
|
sudo apt-get install python3-dev libffi-dev libssl-dev
|
|
```
|