Does MotionEye work on Ubuntu 23.04

622 views
Skip to first unread message

JohnW

unread,
Jun 5, 2023, 4:37:42 AM6/5/23
to motioneye
Hello,

Just loaded the latest Ubuntu 23.04, and the iinstll script appears to fail on this version, references to Python2 all get rejected.

Thanks
JohnW

StarbaseSSD

unread,
Jun 5, 2023, 7:52:11 AM6/5/23
to motioneye
Testing...

StarbaseSSD

unread,
Jun 5, 2023, 8:06:22 AM6/5/23
to motioneye
Quick google search, looks like they completely removed Python2 from Ubuntu 23.04, as well as all references / installation possibilities from the repositories. You may be able to use the Python3 beta version from here:
https://github.com/motioneye-project/motioneye/issues/2373

StarbaseSSD

unread,
Jun 5, 2023, 9:40:22 AM6/5/23
to motioneye
Well, that was incorrect.
Default clean install of Ubuntu 23.04 Server doesn't install any Python
I was able to install python2.7 using:
All commands require root; use sudo before each command or become root using
> sudo -i
> apt-get install python2 -y
> python2 get-pip.py
I followed the rest of the instructions from here:
https://github.com/motioneye-project/motioneye/wiki/%28Install-On-Ubuntu-%2820.04-or-Newer%29
without issues.

JohnW

unread,
Jun 5, 2023, 1:14:04 PM6/5/23
to motioneye
Hello,

Thanks for the responses, in short, i have made no progress.

Yes, i am in sudo -I mode...

I followed your instruction in the response above and I get the same errors either the Python command is not found or Python2 has no installation candidate, and, I do not get any errors after issuing the curl command.

The issue is when i try to install python2.

Now one difference is that I have done a clean install on Ubuntu Desktop not Server.... why would they differentiate the use of python2 between the two versions????

Sorry, cannot be any further use at this time.

StarbaseSSD

unread,
Jun 5, 2023, 1:15:54 PM6/5/23
to motioneye
Will check in a bit, currently knee deep in gators...

StarbaseSSD

unread,
Jun 5, 2023, 7:43:40 PM6/5/23
to motioneye
Downloaded and installed Ubuntu 23.04 Desktop latest ISO
Confirmed Ubuntu 23.04 has disabled and removed from the repositories everything Python2.7 related.
Latest Ubuntu 23.04 Server is also the same way.
My previous install success was based on the pre-release last test ISO.
I did find a way to get it installed, but involves installing GCC, make, and other tools.
I did a Server and Desktop 22.04 install of motionEye and updated to 22.10, then 23.04, and that did work.
It is Ubuntu's fault, they completely removed Python2.7...

JohnW

unread,
Jun 6, 2023, 6:58:11 AM6/6/23
to motioneye
StarbaseSSD,

Ok, i have read some of the info on the motionEye Python3 pages, and as far as i can see :-
1, There does not appear to be any formal Beta test program identified?
2. Cannot see any install instruction, for those of use who are not used to the development environment.
3. How stable is the current Beta version is it available for users like myself to install and "see how it goes"

I have read your comment on the referenced page and note that possibly the Google Motioneye group maybe a place to set up a suitable Beta Group of interested parties in testing the python 3 version.(3)?

I also note that the focus at present is on motionEye and motionEyeOS is not even on the todo list at present.

I am willing to help, but i will need some guidance.
Also I  have limited experience of using the Github system.
I have old Mac which i can use to install Linux, i also have RPi's that i could use in a non motionEyeOS environment possibly.

What do you think?

JohnW

StarbaseSSD

unread,
Jun 6, 2023, 8:15:17 AM6/6/23
to motioneye
1) True.
2) There are several threads in the issues for 0.43 which discuss getting it installed. Most have to do with cloning the github repository.
3) Not all functions are working. Mostly it depends on how you define 'stable'. It doesn't 'crash' much, but not all functionality is there.

I would contact the maintainers / devs at this point. I am not supporting the current devs for several personal reasons, but continue supporting users of 0.42 on both motionEyeOS and other OSs that support Python2.7.

If you want a motionEye beta group in Google Groups, contact the maintainers / devs and see what, if any support they want to offer. It is hard enough to get them to respond in Github...

If you are going to use an Intel Mac, consider using something like Debian to run a KVM (virtual machine) environment. I run Debian (currently Debian 11) and VirtualBox 6.1.x on a Ryzen 7 / 32GB RAM / 15TB system to run 6 primary VMs and whatever testing / Dev environments I need at the time.
I come from a background of IT Support, Win & Linux administration and user education. I started helping Calin years ago when I saw he was 'overwhelmed' at the github and offered to be his help desk...

StarbaseSSD

unread,
Jun 6, 2023, 8:20:58 AM6/6/23
to motioneye
BTW, I also do the majority of the support in the Facebook group...

JohnW

unread,
Jun 7, 2023, 1:07:12 AM6/7/23
to motioneye
StarbaseSSD,

Thank you again for your detailed response.

Over the last however many years I have been using Motioneye/MotioneyeOS, the one constant has been your dedication to the support of the product and I thank you for that.
Basically, i got into this as I started to get interested in the RPi/Linux product, prior to that was and still 100% Mac/OSX and have been for many years.

I believe i need to review my options now and what it is I am trying to achieve by remaining a Motioneye user, the outlook does not appear to be that promising for the RPi solution, and at some point, i assume even Raspberry will have to pull the plug on Python2 and at that stage will this new development team have a Python 3 solution? who knows.

Anyway, again thank You for your support, i will keep a "distant" watching brief on how things develop or not
Reply all
Reply to author
Forward
0 new messages