Skip to content
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

pyPLC on Raspberry4 with OS lite #16

Closed
GabrielAtlasPower opened this issue Oct 26, 2023 · 2 comments
Closed

pyPLC on Raspberry4 with OS lite #16

GabrielAtlasPower opened this issue Oct 26, 2023 · 2 comments

Comments

@GabrielAtlasPower
Copy link

Hi guys!

Thanks for your hard work and great advances with this project.

I'm trying to run "pyPLC.py E S" in a raspberry without desktop and getting this message:

starting in EvseMode, simulated environment Traceback (most recent call last): File "/home/pi/myprogs/pyPlc/pyPlc.py", line 96, in <module> root = tk.Tk() ^^^^^^^ File "/usr/lib/python3.11/tkinter/__init__.py", line 2326, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _tkinter.TclError: no display name and no $DISPLAY environment variable
Do you faced this problem before? How can I run using this lite OS?

Thanks.

@uhi22
Copy link
Owner

uhi22 commented Oct 27, 2023

The pyPlc.py is the variant which is using the graphical user interface, with tkinter. This does not work on a display-less device. Instead, use the pevnogui or evsenogui variants. But I'm not sure whether they support the simulation mode.

@GabrielAtlasPower
Copy link
Author

Ok, no problem. Now I'm testing on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants