Keyboard Shortcuts
Likes
Search
Quisk 4.2.14 installation fails on Raspberry PI with Python 3.9
Hello,
I am running Quisk for quite some time now on a Raspberry Pi 4 with "Raspbian GNU/Linux 10 (buster)" with the OOTB Python 3.7 on the Raspi. For Quisk 4.2.14 you need at least Python 3.8, so I installed Python 3.9 following the instructions on??which worked fine. I did not replace the links /usr/bin/python and /usr/bin/python3, to point to /usr/local/bin/python3.9, but I used python3.9 to start Python. When I am trying to install Quisk 4.2.14 on a Raspberry Pi 4 executing Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting quisk
? Using cached quisk-4.2.14.tar.gz (4.8 MB)
? Preparing metadata (setup.py) ... done
Collecting wxPython
? Using cached wxPython-4.2.0.tar.gz (71.0 MB)
? Preparing metadata (setup.py) ... error
? error: subprocess-exited-with-error
??
? python setup.py egg_info did not run successfully.
? exit code: 1
??
? [8 lines of output]
? Traceback (most recent call last):
? ? File "<string>", line 2, in <module>
? ? File "<pip-setuptools-caller>", line 34, in <module>
? ? File "/tmp/pip-install-pgi9obva/wxpython_1febcf57b744490dac9f94020fee773f/setup.py", line 27, in <module>
? ? ? from buildtools.config import Config, msg, opj, runcmd, canGetSOName, getSOName
? ? File "/tmp/pip-install-pgi9obva/wxpython_1febcf57b744490dac9f94020fee773f/buildtools/config.py", line 30, in <module>
? ? ? from attrdict import AttrDict
? ModuleNotFoundError: No module named 'attrdict'
? [end of output]
??
? note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
?
Encountered error while generating package metadata.
?
See above for output.
?
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available.
You should consider upgrading via the '/usr/local/bin/python3.9 -m pip install --upgrade pip' command.
?
although I have installed AttrDict withpi@rigpi3:~ $ /home/pi/.local/bin/pip3 install attrdict
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting attrdict
? Downloading https://www.piwheels.org/simple/attrdict/attrdict-2.0.1-py2.py3-none-any.whl (9.9 kB)
Collecting six
? Downloading https://www.piwheels.org/simple/six/six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six, attrdict
Successfully installed attrdict-2.0.1 six-1.16.0
?
To be on the safe side I also installed it with the regular pip and pip3 commands, but I am nevertheless always getting the error message during the installation of Quisk, that it cannot import AttrDict.I am currently lost. Did anybody succeed, to run Quisk 4.2.14 with Python >= 3.9 on a Raspberry Pi 4 and what did you do for that? BTW: I can run Quisk 4.2.14 with Python 3.7.3, but under certain circumstances, I am getting a lot of error messages and I always get a "Segmentation fault", when I close Quisk. -- 73, Joerg - DB2OO |
¿ªÔÆÌåÓýHello Joerg, I run Quisk on Raspberry Pi 4, using the 3.7.3 version of
Python.? It works fine for me, but I do see the Segmentation Fault
when shutting down Quisk.? I'm very timid and conservative
regarding "if it works, don't fix it" ... and since it works for
me, I have not tried to install a later version of Python.?
Actually, Jim asked me if I could try to find the Seg Fault ... I
made an attempt, but really did not know how to track it down.? My
apologies!? :-( I am *no expert* here, but not replacing the links may be causing trouble, although maybe you don't want other programs to use 3.9. Just a thought ... there is a line in the message regarding the old version of pip: You should consider upgrading via the '/usr/local/bin/python3.9 -m pip install --upgrade pip' command. Have you tried the following (with or without --upgrade)?? I'm hoping it might put attrdict where it could be found by your 3.9 installation: /usr/local/bin/python3.9 -m pip install --upgrade attrdict Then use a similar command (with --upgrade) to install Quisk? No guarantees on my feeble suggestion ... Good luck!! -- Ben, AC2YD --
On 12/28/22 12:09, Joerg DB2OO wrote:
|
Hello Joerg,
If you have read my response to Eric re: segmentation fault you will see that I am using Rpi4 with python 3.9. To set Quisk up I downloaded the tar.gz version of quisk from https://pypi.org/project/quisk/#files and compiled with "make quisk3". It simply runs for me and I followed up the instructions to set it up as my remote. Something which is a little unclear (and I should make some instructions) is which items are controlled from the remote end and which are set from the control head end, e.g. the s-meter offset. I have always used the tar.gz and compiled with my running version of python on every computer that I have and suggest that it may be a solution for you as I can assure you that python 3.9 and Rpi4 and Quisk really does work. 73, Graeme ZL2APV |
Hallo Joerg,
I installed and updated Quisk on my Raspberry Pi4 "Raspbian GNU/Linux 11 (bullseye 64-bit)" following the " Linux Pip Installation" advises on without any problem and Quisk 4.2.24 works perfectly. # sudo apt update # sudo apt install libfftw3-dev libasound2-dev portaudio19-dev libpulse-dev python3-dev libpython3-dev python3-wxgtk4.0 python3-usb python3-setuptools python3-pip # sudo -H python3.9 -m pip install --upgrade quisk Maybe it is better to update your OS to bullseye. 73, Walter DL8FCL |
I have also used the same method as Graeme without a problem.
toggle quoted message
Show quoted text
One caution if using freedv -- the version included is for x86_64 and not for Pi4 or any other ARM SBC. "git clone build and install then remove freedvpkg/lib* and copy /usr/local/lib/libcodec2* to freedvpkg/ of the quisk source package if you need to "make soapy3". 73 ... Sid. On 29/12/2022 07:37, Graeme Jury wrote:
Hello Joerg, --
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks |