Skip to content

Commit

Permalink
Fix dependencies version and doc for Raspberrypi Bookworm
Browse files Browse the repository at this point in the history
Fixes #698
  • Loading branch information
ataffanel committed Mar 20, 2024
1 parent 9559e54 commit e5c813a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
22 changes: 20 additions & 2 deletions docs/installation/install.md
Expand Up @@ -10,9 +10,27 @@ This project requires Python 3.8 - 3.12.
There are a few things to sort out on your machine before you can install the client. Please see the appropriate
section depending on your environment.

### Debian/Ubuntu
### Raspberrypy Bookworm+

On Raspberry bookwork it is required to create a *python venv* to install the client but the system's pyqt6 should still be used.

Install dependencies:
```
sudo apt install python3-pyqt6 pyqt6-dev-tools
```

Then, to install the client:
```
pipx install --system-site-packages .
```

The ```--system-site-packages``` is the most important there since it allows to use pyqt we installed just above.
The same flag can be passes to ```python3 -m venv``` in order to create a python venv that can run the client.

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.
Permission for USB needs to be set as described bellow for Debian/Ubuntu


### Debian/Ubuntu

From a fresh Ubuntu 20.04 system and up, running the client form source requires git, pip and a lib for the Qt GUI.

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -99,8 +99,8 @@ def relative(lst, base=''):
'numpy~=1.20',
'vispy~=0.13',
'pyserial~=3.5',
'pyqt6~=6.5',
'PyQt6-sip~=13.5',
'pyqt6>=6.4',
'PyQt6-sip>=13.4',

'pysdl2~=0.9.14 ; platform_system=="Windows" or platform_system=="Darwin"',
'pysdl2-dll==2.24.0 ; platform_system=="Windows" or platform_system=="Darwin"'],
Expand Down

0 comments on commit e5c813a

Please sign in to comment.