Skip to content

Commit

Permalink
Merge pull request #519 from bitcraze/update-install-doc
Browse files Browse the repository at this point in the history
Update install doc
  • Loading branch information
jonasdn authored Jul 1, 2021
2 parents a37d3f2 + 22d5c2a commit 771049a
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions docs/installation/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ page_id: install

For < Ubuntu 20.04 you will need to check first if which version your python is on and if you have 'python3' on your system.

From a fresh Ubuntu 20.04 system, running the client form source requires git and pip.
From a fresh Ubuntu 20.04 system, running the client form source requires git and pip.

```
sudo apt install git python3-pip
pip3 install --upgrade pip.
sudo apt install git python3-pip python3-pyqt5
pip3 install --upgrade pip
```
Since the pyqt5 package required for the cfclient does not install all the libraries, it will need to be installed seperately too, however this should be fixed in the future. See this [issue](https://github.com/bitcraze/crazyflie-clients-python/issues/518)

### Setting udev permissions

Using Crazyradio on Linux requires that you set udev permissions. See the cflib
Expand Down Expand Up @@ -55,6 +57,10 @@ pip3 install --upgrade pip.

# Installing from latest release

If you are planning to not do any developement on the client itself, we highly recommend you to install the cfclient according to latest release (as according of the instructions described) and not from source ([from these instructions](#installing-from-source)).

Make sure that you have installed the [prerequisites](#prerequisites-installation)!

## From Pypi (Windows, Mac, Linux, ..., with python3)

Each release of the client is pushed to the [pypi repository](https://pypi.org/project/cfclient/). If you have python >= 3.6, it can be installed with pip:
Expand All @@ -64,7 +70,9 @@ pip install cfclient
```
# Installing from source

The Crazyflie client requires Python >= 3.6. The following instructions describe hot to install it from source.
If you are planning to do development with the cfclient, you are at right spot! The Crazyflie client requires Python >= 3.6. The following instructions describe hot to install it from source. Make sure to also install the [cflib](https://github.com/bitcraze/crazyflie-lib-python) from source as well!

Make sure that you have installed the [prerequisites](#prerequisites-installation)

## Pip and Venv

Expand Down

0 comments on commit 771049a

Please sign in to comment.