Hey,
I'm just trying to run the program for the AR4 version, but unfortunately nothing happens. The program crashes immediately after starting. I checked this on two different computers. Win10.
Should I install something additional? Python for example?
As I have a Mac, what I did was to install the last version of Python 3, and open a Terminal window to:
1. Go to the AR4 source code directory
2. Create a virtual environment in this terminal window (do "python3 -m venv venv")
3. Install the ttkthemes, pyserial, and numpy libraries (using pip3 install <package>)
4. and finally do: python3 AR4.py
Hope it helps doing the same in Windows.
Are you trying to run the source code or just the exe file?
I cannot run the exe file compiled by you.
Today I compiled the AR4 program myself (also after some problems. With python 3.7 I could not connect the teensy board, after installing python 3.9 connecting worked). and it works.
I tested the AR4 and AR3 program (compiled by you) on 3 different computers.
On one it crashes as shown on the screenshot, on the second only the cmd window appears for about 0.5s and the program shuts down. On the third one it works without any problem.
The AR3 program runs on all of them without any problem.
I have come across the same issue I will try running it with python 3.9 as the .exe file does not work.
So, I compiled the exe my self with no luck but after I installed the libraries with the pip install numpy pip install ttkthemes
pip install pyserial Then I went to the directory of the file(you will have to enable the open command prompt window here option{
then go to the folder with the source code right click on it and open in command prompt. From there it is a simple as typing python AR4.py or python3 AR4.py
I've run the exe on windows 10 and 11 machines and have not been able to replicate the issue. I am continuing to investigate, in the meantime please keep me posted if anyone else has this issue or any findings.
@chris-annin I got the same problem , when I run AR4.exe, command windows appear for 0.5s then nothing happen. I use win 10 64bit.
I too am having the same issue as Minh Nguyen but on Windows 11
. I'm attempting to work through it now, sadly I am rather unfamiliar with using Python/CMD. Chris, could you put together a step by step in the AR4 manual for people like myself? I just want to make sure I follow the correct steps. But now that I think of it, I believe you have outlined this somewhere in one of your videos.
Update: I have zero issues getting the AR3 software up and running. It was a very quick and painless process. Sadly I can't provide any more insight.
I haven't been able to reproduce the issue on windows 10 or 11 but Cody was able to send me a screenshot of the cmd window / error which helps immensely so I will work on this next week when I get back.
Update: I try to reinstall old version of win 10 ( build: 1803) then ar4 soft work normaly. So i think the problem come with something change in windows.
Anyone figure this out? I can't get the software to run on my main Windows 11 PC. I tried installing ttkthemese, pyserial, numpy and then pysintaller to make an executable, but I get an error when I try to run it.
" File "AR4.py", line 75, in <module>
File "tkinter\__init__.py", line 2109, in wm_iconbitmap
_tkinter.TclError: bitmap "AR.ico" not defined"
I may have just compiled something wrong.
The downloaded pre-compiled version does the same for me as what is shown in the picture of the first post.
Watch Annin's python startup video, and follow the exact same procedure. This error may not appear.
Still the error persists, comment out the line root.iconbitmap(r'AR.ico')