-
Notifications
You must be signed in to change notification settings - Fork 11
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
Raspberry Pi w/Ubuntu 20.04 install notes #15
Comments
Hi Marcus, Thanks for this. Glad you got it working. I will update the README when I get some spare time. Thanks again, |
I'll fork the repo and write it up and submit a pull request so you don't
have to make the time.
Thanks,
Marcus
…On Thu, Dec 21, 2023 at 1:15 AM Paul Clark ***@***.***> wrote:
Hi Marcus,
Thanks for this. Glad you got it working. I will update the README when I
get some spare time.
Thanks again,
Paul
—
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO3X5OBL2RVHBWXBLAYVLJDYKP43DAVCNFSM6AAAAABA5HOZXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVHEYTKMJUGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
*Marcus Jaiclin, Ph.D. [he/him/his]*
Wu Tsai Chair in Computer Science
*The Bishop's School* <http://www.bishops.com/>
7607 La Jolla Blvd.
La Jolla, CA 92037
|
Closing this... But I will pin it to make it easier to find, in case anyone else has the same issue. Best wishes, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I ran the pip3 install on a Raspberry Pi running Ubuntu 20.04, so:
sudo pip install artemis_uploader-3.0.0.tar.gz
For some reason, the apt install of
python3-pyqt5.qtserialport
did not occur.Maybe a notation in the README install documentation that this might need to be installed separately would be in order.
I don't see why that failed, because, of course fixing it so that it does install would be better.
When I re-run the pip3 install, with the
python3-pyqt5.qtserialport
package removed, I get:sudo pip3 install artemis_uploader-3.0.0.tar.gz Processing ./artemis_uploader-3.0.0.tar.gz Requirement already satisfied: darkdetect in /usr/local/lib/python3.8/dist-packages (from artemis-uploader==3.0.0) (0.8.0) Requirement already satisfied: pycryptodome in /usr/local/lib/python3.8/dist-packages (from artemis-uploader==3.0.0) (3.19.0) Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages (from artemis-uploader==3.0.0) (3.4) Building wheels for collected packages: artemis-uploader Building wheel for artemis-uploader (setup.py) ... done Created wheel for artemis-uploader: filename=artemis_uploader-3.0.0-py3-none-any.whl size=1923014 sha256=249344f040b2f404aea8f4850a1843d65f2410d6441265b33f79dc8eef8f603f Stored in directory: /root/.cache/pip/wheels/42/e5/48/9b83c5fc187c15ead2e728618ee05b89e7497de632b19b2343 Successfully built artemis-uploader Installing collected packages: artemis-uploader Successfully installed artemis-uploader-3.0.0
But then running it:
artemis_upload Traceback (most recent call last): File "/usr/local/bin/artemis_upload", line 5, in <module> from artemis_uploader import startArtemisUploader File "/usr/local/lib/python3.8/dist-packages/artemis_uploader/__init__.py", line 44, in <module> from .artemis_uploader import startArtemisUploader File "/usr/local/lib/python3.8/dist-packages/artemis_uploader/artemis_uploader.py", line 61, in <module> from PyQt5.QtSerialPort import QSerialPortInfo ModuleNotFoundError: No module named 'PyQt5.QtSerialPort'
I checked the
setup.py
, and theinstall_deps
on line 75 is clearly working, and I checked the values for the conditional on line 79, and I get values that should trigger it:`Python 3.8.10 (default, Nov 22 2023, 10:22:35)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
Once I separately apt installed
python3-pyqt5.qtserialport
all is well, andartemis_upload
works great.So... 🤷 At least a note in the README.md would be helpful that, if you get a crash, then running
sudo apt-get install python3-pyqt5 python3-pyqt5.qtserialport
might solve your problems.I am running:
Ubuntu 20.04.6 LTS, 64-bit, Server edition, then apt installed ubuntu-desktop on top of it. Installed from Raspberry Pi OS Installer for Mac (Ubuntu 20 Desktop was not available).
Linux kernel is
5.4.0-1100-raspi
(fromuname -r
)running on Raspberry Pi 4B, 4GB RAM
Using built-in Python 3.8.10, added pip 23.3.2 using get-pip.py from PyPA.
Running
apt -v
returnsapt 2.0.10 (arm64)
I hope that is enough information. Thank you for producing the board and the installer and the uploader and the firmware and all of it!!
The text was updated successfully, but these errors were encountered: