nocarryr / rtlsdr-wwb-scanner

RF Scanner and Exporter for use with Shure Wireless Workbench
GNU General Public License v2.0
30 stars 5 forks source link

Seg Fault on MacOs #17

Open danskelly opened 1 month ago

danskelly commented 1 month ago

MacOS 13.6.7 Python 3.12.4 Numpy 1.26.4 (2.0.0 doesn't seem to be working)

Using Python venv. Had to manually install setuptools with pip. Manually installed pyrtlsdr[lib] with pip. Installed rtlsdr-wwb-scanner with pip.

When executing the binary I get a SegFault.

% /Users/****/Python_venv/bin/wwb_scanner-ui zsh: segmentation fault /Users/****/Python_venv/bin/wwb_scanner-ui

nocarryr commented 1 month ago

Hi @danskelly Are you on an intel or m1/m3 mac? PySide2 (the UI library) was never released for m1 architecture unfortunately so installation via pip will fail with:

ERROR: Could not find a version that satisfies the requirement PySide2>=5.13.1 (from rtlsdr-wwb-scanner) (from versions: none)
ERROR: No matching distribution found for PySide2>=5.13.1

This project could probably stand to be updated to use PySide6, but that may take some time to refactor.

If you are on an Intel-based system though, it may be something else. I haven't tested with Python 3.12, so could you maybe try 3.10 or 3.11?

danskelly commented 1 month ago

Hey @nocarryr I am on an Intel Mac. I'll check with 3.10 and 3.11. Thanks for the suggestion.

edit: typo