No, it's just a Python program. There is a file packaged for Windows. but that's not what you should try to run under Linux. All you need is in https://github.com/harbaum/upide. Just clone that repository, install Python3 and PyQt5 as suggested and run the upide.py script under Linux.
µPIDE a new IDE for beginners
-
- Posts: 50
- Joined: Sun Nov 29, 2020 8:17 pm
Re: µPIDE a new IDE for beginners
Last edited by MasterOfGizmo on Thu Aug 19, 2021 10:11 am, edited 1 time in total.
Re: µPIDE a new IDE for beginners
I may not be the target audience, but it would be nice if you could specify the port. The MicroPython board I want to do stuff with is on /dev/ttyACM1, but µPIDE catches the CircuitPython board on ttyACM0 instead and fails. I've put in an issue to the repo
Re: µPIDE a new IDE for beginners
Thanks for the clarification. I now see that following in Status:
and then being able to run uPIDE on Windows was not the correct procedure.A single-exe binary for windows can be found in the releases.
-
- Posts: 50
- Joined: Sun Nov 29, 2020 8:17 pm
Re: µPIDE a new IDE for beginners
As explained in the issue I am open to suggestions. I think for the target audience it's pretty important to have this simple "just run the exe and be ready to go" feeling. So how and where to add the ability to select a port without facing beginners with these options?
-
- Posts: 50
- Joined: Sun Nov 29, 2020 8:17 pm
-
- Posts: 50
- Joined: Sun Nov 29, 2020 8:17 pm
Re: µPIDE a new IDE for beginners
I've added a (huge 70MB) pre-packaged Linux version to the latest release at:
https://github.com/harbaum/upide/releas ... v1.0-beta7
Maybe this helps with the linux dependency problems.
https://github.com/harbaum/upide/releas ... v1.0-beta7
Maybe this helps with the linux dependency problems.
Re: µPIDE a new IDE for beginners
The whole issue was due to my miss-understanding. When I see a file that ends in .exe I thought it only ran under Windows, which it did.
I will now try running it under Linux:
Obviously, I downloaded the wrong files or miss-understood the installation process.
I will download the pre-packaged Linux version and try that.
Thank you.
I will now try running it under Linux:
Code: Select all
dave@davef:~/Desktop$ ./upide.exe
bash: ./upide.exe: cannot execute binary file: Exec format error
I will download the pre-packaged Linux version and try that.
Thank you.
Last edited by davef on Thu Aug 19, 2021 11:04 am, edited 1 time in total.
-
- Posts: 50
- Joined: Sun Nov 29, 2020 8:17 pm
Re: µPIDE a new IDE for beginners
That's correct, the exe only runs under Windows. And it should just run fine there, doesn't it? The exe is built from the python scripts as is the new prepackaged Linux version. These scripts can also be run directly under Linux (and also under Windows) if you have all the python dependencies installed.
So the release binaries are meant to ease usage for beginners. If you are a little more experienced with python on the PC you can try to run the python scripts directly ignoring the prepackaged versions for Windows and Linux altogether.
Re: µPIDE a new IDE for beginners
On Windows I got:
I Googled and tried to install various programs on Windows to no avail.
I am much more comfortable with the command line in Linux so will head-down that route.
Code: Select all
ImportError: no module named 'PyQt5'
I am much more comfortable with the command line in Linux so will head-down that route.
-
- Posts: 50
- Joined: Sun Nov 29, 2020 8:17 pm
Re: µPIDE a new IDE for beginners
You got that on Windows? How and where was that message displayed? You should just be able to download the exe and run it by double clicking it.davef wrote: ↑Thu Aug 19, 2021 11:09 amOn Windows I got:I Googled and tried to install various programs on Windows to no avail.Code: Select all
ImportError: no module named 'PyQt5'
I am much more comfortable with the command line in Linux so will head-down that route.