Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation fails in latest bookworm raspbian #37

Closed
dcolens opened this issue Dec 23, 2023 · 6 comments
Closed

installation fails in latest bookworm raspbian #37

dcolens opened this issue Dec 23, 2023 · 6 comments
Assignees

Comments

@dcolens
Copy link

dcolens commented Dec 23, 2023

this is FYI, I tried installing on the latest Rapbian OS (bookworm), the installation fails for a couple of reasons:

  1. /boot/config.txt and cmdline moved under /boot/firmware/ in bookworm this breaks the install script that
  2. it is no longer possible to run pip install outside a venv (see https://www.raspberrypi.com/documentation/computers/os.html#python-on-raspberry-pi)

To Reproduce
Steps to reproduce the behavior:

  1. install bookworm on RPI
  2. clone airiana repo
  3. run python3 install.py

tested on

  • Device: RPI3
  • OS: bookworm
@dcolens
Copy link
Author

dcolens commented Dec 23, 2023

I managed to install, I made the following changes:

  1. updated path for config.txt and cmdline.txt (/boot/firmware)
  2. create venv in airiana's folder
  3. sourced venv and ran installer (while it said install completed, many steps failed)
  4. pip install minimalmodbus progressbar requests pyModbusTCP setuptools pytest pyephem numpy because pip install --user fails
  5. sudo apt-get install libopenblas-dev (required for numpy to load properly)
  6. udpate the systemfiles python path to use the one from venv
  7. create latlong.json file in airiana folder (without it, it would not start)

I think that's about it, hope this is useful and thanks a lot for the project!

@BeamCtrl
Copy link
Owner

Thank you for a detailed bug report. =). and solutions. WIll take a look on doing an update, maybe even a rework of the install scripts. Its been growing into some different kind of beast for a long time.

@BeamCtrl
Copy link
Owner

Hope you got you installation working and that it works well, always fun to see that ppl are using it =)

@BeamCtrl BeamCtrl self-assigned this Dec 26, 2023
@dcolens
Copy link
Author

dcolens commented Jan 8, 2024

yes, my installation is operational thanks for the great work :-)

@BeamCtrl
Copy link
Owner

BeamCtrl commented Jun 17, 2024

brief update, now the there is a branch called merge/auto-hotspot, it includes bookworm compat, and rework of the installation script.

@BeamCtrl
Copy link
Owner

resolved as of merge with auto-hotspot branch, 0610db0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants