Closed j0uni closed 12 months ago
Also if I run
echo "hello" | python3 -m horusdemodlib.uploader
that works too without nagging about missing crcmod.
This sounds like the python version where the packages have been installed is not the same as what is running when you run the commands.
On Mon, 21 Aug 2023, 15:53 j0uni, @.***> wrote:
Also if I run
echo "hello" | python3 -m horusdemodlib.uploader
that works too without nagging about missing crcmod.
— Reply to this email directly, view it on GitHub https://github.com/projecthorus/horusdemodlib/issues/176#issuecomment-1685722033, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH57E4MXIBQS3AG542R24TXWL5HPANCNFSM6AAAAAA3X4B5CA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thanks for the tip. I replaced the python-command from the script with
/home/jouni/horusdemodlib//venv/bin/python3
And now it works.
The startup scripts should enter the venv automatically if it exists... I'm wondering why thats not working...
On Mon, 21 Aug 2023, 16:21 j0uni, @.***> wrote:
Thanks for the tip. I replaced the python-command from the script with
/home/jouni/horusdemodlib//venv/bin/python3
And now it works.
— Reply to this email directly, view it on GitHub https://github.com/projecthorus/horusdemodlib/issues/176#issuecomment-1685751189, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH57E6DHIJ7B4HF2Z54ODTXWMANXANCNFSM6AAAAAA3X4B5CA . You are receiving this because you commented.Message ID: @.***>
:D Because I commented it out when I was trying to debug this.
Brought those rows back and now it works. I don't know why it didn't work in the first place. Strange.
I'm running start_rtlsdr.sh on Ubuntu machine and it ends up in error No module named 'crcmod'.
I have installed requirements.txt on pip3 (I needed to mod the script to use python3 too).
If I run "python3 -m horusdemodlib.uploader" alone, it starts and works. Of course it is not receiving any data so I don't know if that has effect.
Also the rtl_fm + decoded part works alone fine.
Somehow the piping to python just "looses" all modules that have been installed to the system + in virtual environment (no difference).