luigifcruz / cyberradio Goto Github PK
View Code? Open in Web Editor NEW๐ป An SDR Based FM/AM Radio For Desktop. Accelerated with #cuSignal and Numba.
License: GNU General Public License v3.0
๐ป An SDR Based FM/AM Radio For Desktop. Accelerated with #cuSignal and Numba.
License: GNU General Public License v3.0
Hi lucas,this project is great.
But when I try to build it on ubuntu ,something error:
sudo pip3 install -r requirements.txt
WARNING: The directory '/home/init3/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting git+https://github.com/luigifreitas/fbs.git@ubuntu_16.04 (from -r requirements.txt (line 6))
Cloning https://github.com/luigifreitas/fbs.git (to revision ubuntu_16.04) to /tmp/pip-req-build-18ln1zci
Running command git clone -q https://github.com/luigifreitas/fbs.git /tmp/pip-req-build-18ln1zci
Running command git checkout -b ubuntu_16.04 --track origin/ubuntu_16.04
ๅๆขๅฐไธไธชๆฐๅๆฏ 'ubuntu_16.04'
ๅๆฏ 'ubuntu_16.04' ่ฎพ็ฝฎไธบ่ท่ธชๆฅ่ช 'origin' ็่ฟ็จๅๆฏ 'ubuntu_16.04'ใ
Collecting git+https://github.com/luigifreitas/radio-core.git (from -r requirements.txt (line 7))
Cloning https://github.com/luigifreitas/radio-core.git to /tmp/pip-req-build-ieoabdui
Running command git clone -q https://github.com/luigifreitas/radio-core.git /tmp/pip-req-build-ieoabdui
Collecting numba
Downloading numba-0.47.0-cp35-cp35m-manylinux1_x86_64.whl (3.7 MB)
|โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ| 3.7 MB 10.8 MB/s
Requirement already satisfied: numpy in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 2)) (1.15.4)
Requirement already satisfied: scipy in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 3)) (1.2.0rc1)
Collecting sounddevice
Downloading sounddevice-0.3.14-py2.py3-none-any.whl (30 kB)
Requirement already satisfied: pyqt5 in /usr/local/lib/python3.5/dist-packages (from -r requirements.txt (line 5)) (5.10.1)
Collecting PyInstaller>=3.3
Downloading PyInstaller-3.6.tar.gz (3.5 MB)
|โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ| 3.5 MB 5.7 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /usr/local/lib/python3.5/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpipuohgua
cwd: /tmp/pip-install-z3m_wt8k/PyInstaller
Complete output (10 lines):
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pep517/_in_process.py", line 257, in <module>
main()
File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pep517/_in_process.py", line 240, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pep517/_in_process.py", line 85, in get_requires_for_build_wheel
backend = _build_backend()
File "/usr/local/lib/python3.5/dist-packages/pip/_vendor/pep517/_in_process.py", line 76, in _build_backend
obj = getattr(obj, path_part)
AttributeError: module 'setuptools.build_meta' has no attribute '__legacy__'
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/local/lib/python3.5/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpipuohgua Check the logs for full command output.
OS:Ubuntu 16.04.6 LTS 64 bit
Python 3.5.2 (default, Oct 8 2019, 13:06:37)
[GCC 5.4.0 20160609] on linux
Any idea to fix this error?
Thanks!
Could You consider to modulation scheme beside AM and FM ?
like CW, JT65, FT8, etc
Collecting pyqt5 (from -r requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/3a/fb/eb51731f2dc7c22d8e1a63ba88fb702727b324c6352183a32f27f73b8116/PyQt5-5.14.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.6/tokenize.py", line 452, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-2s5fdls5/pyqt5/setup.py'
Hi, Luigi!
Could you please add elevate
package to requirements.txt
?
(.venv) wakko@radio:~/Documents/Projects/CyberRadio$ pip install -r requirements.txt
...
Successfully installed CFFI-1.15.1 PyInstaller-3.4 PyQt5-Qt5-5.15.2 PyQt5-sip-12.11.0 altgraph-0.17.3 fbs-1.1.9 future-0.18.2 macholib-1.16.2 numpy-1.23.5 pefile-2022.5.30 pycparser-2.21 pyqt5-5.15.7 radio-core-0.2.2 scipy-1.9.3 sounddevice-0.4.5
(.venv) wakko@radio:~/Documents/Projects/CyberRadio$ python src/main/python/main.py
Traceback (most recent call last):
File "/home/wakko/Documents/Projects/CyberRadio/src/main/python/main.py", line 10, in <module>
from settings import SettingsWindow
File "/home/wakko/Documents/Projects/CyberRadio/src/main/python/settings.py", line 6, in <module>
from elevate import elevate
ModuleNotFoundError: No module named 'elevate'
Hey
I have some weird issues on macOS.
1- When I do fbs run
and try to turn on the SDRPlay, it gives me an error:
libusb: error [darwin_claim_interface] USBInterfaceOpen: another process has device opened for exclusive access
But pressing the ON
works. Now when I play with the UI, it crashes randomly without any errors. For example I tried to tune to different stations, but the app suddenly crashed. The last log was [DEMOD] Starting Demodulator
This is random. Sometimes after pressing the ON
this happens.
The above random crashes happen to RTL SDR V3 and LimeSDR Mini as well (I just don't get the darwin_claim_interface
error in this case)
2- I tested the app with AirSpy R2 this time. I have 4 devices shown in the menu: built-in Apple mic, two Soundflower options, and AIRSPY. Every time I select AIRSPY (last option in the menu), it automatically chooses the 3rd item (which is soundflower).
This is what logs look like:
[DEMOD] Activating AIRSPY [573064dc:312724c1] device.
[DEMOD] Activating ma++ ingalls for Cycling '74: Soundflower (64ch) device.
It actually happens after around 0.5-1 second (for a moment AIRSPY is selected but changes back to the other item in the menu)
This only happens when I select the last item (AIRSPY). And interestingly this does not happen with SDRPlay.
So I can't even use it.
I am using 3.7.5 on macOS 10.15.2 with Soapy 0.8.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.