-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
Lupin3000 edited this page Mar 28, 2025
·
3 revisions
user
# clone repository
$ git clone https://github.com/Lupin3000/Tello-Python.git
# change into cloned root directory
$ cd Tello-Python/
# create Python virtualenv (optional but recommended)
$ python3 -m venv venv
# activate Python virtualenv
$ source venv/bin/activate
# update pip (optional)
(venv) $ pip3 install -U pip
# install required dependencies
(venv) $ pip3 install -r macos-requirements.txt
# show packages (optional)
(venv) $ pip3 freeze
root
The root user should install required system-wide Python packages and allow permissions to /dev/input/*
.
# update packages (optional)
$ apt update && apt upgrade -y
# install required packages
$ apt install -y apt install python3-venv python3-pip libgl1
# provide user permissions to /dev/input/*
$ usermod -aG input [USERNAME]
user
The user should install required project Python packages via virtualenv.
# clone repository
$ git clone https://github.com/Lupin3000/Tello-Python.git
# change into cloned root directory
$ cd Tello-Python/
# create Python virtualenv (optional but recommended)
$ python3 -m venv venv
# activate Python virtualenv
$ source venv/bin/activate
# update pip (optional)
(venv) $ pip3 install -U pip
# install required dependencies
(venv) $ pip3 install -r linux-requirements.txt
# show packages (optional)
(venv) $ pip3 freeze
root
On Unihiker you need to use the root user. Anyway, you can execute all following commands.
# update packages (optional)
$ apt update && apt upgrade -y
# install required packages
$ apt install -y apt install python3-venv
# clone repository
$ git clone https://github.com/Lupin3000/Tello-Python.git
# change into cloned root directory
$ cd Tello-Python/
# create Python virtualenv (optional but recommended)
$ python3 -m venv venv
# activate Python virtualenv
$ source venv/bin/activate
# update pip (optional)
(venv) $ pip3 install -U pip
# install required dependencies
(venv) $ pip3 install -r unihiker-requirements.txt
# show packages (optional)
(venv) $ pip3 freeze