Comments (12)
Dearpygui fails to install through pip on Ubuntu for Raspberry Pi.
python3.11 -m pip install dearpygui
ERROR: Could not find a version that satisfies the requirement dearpygui
ERROR: No matching distribution found for dearpygui
According to Dearpygui repo info, Raspberry Pi rendering API OpenGL ES only supports versions up to v1.1
while other platforms support v1.10.1
. Although we're using Ubuntu 22 LTS instead of Raspberry Pi OS, we do not know the rendering API of the system. Therefore, we now have two approaches to solve this issue.
Install from wheels
We can try wheels v1.1
(OpenGL ES) for Raspberry Pi 4 and v1.10.1
(OpenGL 3) for Linux to manually install.
Migrate to another GUI framework
If the approach above does not work, we will have to migrate our project to another GUI framework such as PyQT. So far its impact has not been that large. We only have to alter modules leads_dashboard
and leads_vec
.
from leads.
Tkinter would probably be the choice.
from leads.
We're migrating this project to Tkinter.
from leads.
COMMIT cbcc4c4
Migration completed for the dashboard. The layout needs further follow-up.
from leads.
Tkinter sucks too badly in layouts. We're now migrating to PySimpleGUI. It's necessary to validate its capability on Raspberry Pi.
from leads.
COMMIT 6092c1a
Dashboard has now migrated to PySimpleGUI.
from leads.
_tkinter.TclError: bad attribute "-toolwindow": must be -alpha, -topmost, -zoommed, -fullscreen, or -type
This error only appears on Raspberry Pi. I will try to find out what makes it differ from Windows. If it is not solvable, I'm going to migrate the whole project to local-web-based.
from leads.
This issue has been posted in PySimpleGUI official repository: PySimpleGUI/PySimpleGUI#6632.
Also mentioned in #17.
from leads.
To be honest I'm having enough with these local GUI libraries. I'm starting to try vanilla JS.
from leads.
We are very likely to migrate to FastAPI (backend) + Vanilla JS (frontend).
from leads.
Current Plan
Onboard dashboard: PySimpleGUI
Remote server: FastAPI (backend) + React (frontend)
I'll later include the reason behind this decision.
from leads.
This issue is now closed since the program (VERSION 0.1.4
COMMIT 4505f90) can now run on Raspberry Pi. Any further corresponding problems will be posted as separate issues.
from leads.
Related Issues (20)
- socket.herror: [Errno 1] Unknown host
- Replace Regular Copy with List Copy in Data Persistence
- Add Audio Support to the GUI Framework HOT 1
- Support Frequency Generators in the GUI Framework
- Support Auto-retry on Disconnection or Failure
- Open House Demonstration
- Automate Reverse Proxy Setup HOT 4
- Include `pysdl2-dll` in the Optional Dependencies
- Add CentOS and Other Linux Support to the Installation Scripts HOT 2
- OBS Studio Fails to Initialize HOT 17
- Improve `leads_vec` Debugging Information
- ImportError: cannot import name 'getuid' from 'os'. Did you mean: 'getpid'?
- Invalid OBS Studio Layout Configuration
- Integrate SVM into LEADS Core HOT 1
- Teams for Linux is Out of Date HOT 3
- `setup.sh` Exits Unexpectedly
- `get-pip.py` Error: error: externally-managed-environment HOT 2
- Create Soft Links for Python and pip
- Error: /usr/bin/python-leads: No module named leads_vec
- FileExistsError: [Errno 17] File exists: '/usr/local/leads'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leads.