---
title: "Running Kedro on Ubuntu 21.10 Impish Indri"
description: "I just installed a brand new Ubuntu 21.10 Impish Indri, and wanted a kedro project to play with so I did what any good kedroid would do, I went to my command..."
date: 2022-01-02
published: false
tags:
  - kedro
  - python
  - datascience
template: til
---


I just installed a brand new Ubuntu 21.10 Impish Indri, and wanted a
kedro project to play with so I did what any good kedroid would do, I
went to my command line and ran

```
pipx run kedro new --starter spaceflights
```

But what I got back was not what I expected!

``` bash
Fatal error from pip prevented installation. Full pip output in file:
    /home/walkers/.local/pipx/logs/cmd_2022-01-01_20.42.16_pip_errors.log

Some possibly relevant errors from pip install:
    ERROR: Could not find a version that satisfies the requirement kedro (from versions: none)
    ERROR: No matching distribution found for kedro
Error installing kedro.
```

This is weird, why cant I run kedro new with pipx?  Lets try pip.

``` bash
pip install kedro
```

Same issue.

``` bash
ERROR: Could not find a version that satisfies the requirement kedro (from versions: none)
ERROR: No matching distribution found for kedro
```

<a href="/what-is-kedro/" class="wikilink" data-title="What is Kedro" data-description="Kedro is an unopinionated Data Engineering framework that comes with a somewhat opinionated template. It gives the user a way to build pipelines that..." data-date="2021-08-17">What is Kedro</a>

> Curious what kedro is?  Check out this article.

## What's up

_wrong python version_

The issue is that kedro only runs on up to `python 3.8`, and on Ubuntu
21.10 when you `apt install python3` you get `python 3.9` and the
standard repos don't have an old enough version to run kedro.

## How to fix this?

Theres a couple of ways you can fix this?  They all involve installing a
distribution that does not come from the standard repo.

## Where Can I get the right version

* Anaconda
* Python.org
* deadsnakes
* pyenv
* miniconda

## I have two articles that can help you

<a href="/install-miniconda/" class="wikilink" data-title="How to Install miniconda on linux (from the command line only)" data-description="Installing miniconda from only the command line can be a bit of an intimidating task your first time. Lets walk through how to do it." data-date="2020-08-10">How to Install miniconda on linux (from the command line only)</a>

> Using miniconda

``` bash
conda create -n myenv python=3.8
```

<a href="/pyenv-first-impressions/" class="wikilink" data-title="My first impressions with pyenv" data-description="pyenv provides an easy way to install almost any version of python from a large list of distributions. I have simply been using the version of python from..." data-date="2021-12-30">My first impressions with pyenv</a>

> Using pyenv

``` bash
pyenv install 3.8.12
```
