Mint 20 and python development
- faeluke
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 22
- Thank you received: 4
05 Jan 2021 02:14 #194112
by faeluke
Mint 20 and python development was created by faeluke
@tommylight
Tom, In a hardware post, you said about Mint 20 and Python 3...
I don't know if I understand exactly what you are saying. I expect that as part of my retrofit, I will need custom code. Are you saying I should develop my python 3 code on a different machine, and it will work fine on the Mint 20 install? or are you saying something else?
Tom, In a hardware post, you said about Mint 20 and Python 3...
I've already downgraded 2 of my PC's due to such issues.
For machine control it works perfectly, for development steer clear off it.
I don't know if I understand exactly what you are saying. I expect that as part of my retrofit, I will need custom code. Are you saying I should develop my python 3 code on a different machine, and it will work fine on the Mint 20 install? or are you saying something else?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7778
- Thank you received: 2075
05 Jan 2021 08:44 #194130
by cmorley
Replied by cmorley on topic Mint 20 and python development
i couldn't compile python3 based linuxcnc on Mint 20.
An un-removable python3 library collides with a required python2 library.
I could compile a python3 based linuxcnc on it -but linuxcnc is not completely supporting python3 yet.
Tom says that you can run a precompiled python2 version of linuxcnc on mint 20 (I haven't tried that )
Chris
An un-removable python3 library collides with a required python2 library.
I could compile a python3 based linuxcnc on it -but linuxcnc is not completely supporting python3 yet.
Tom says that you can run a precompiled python2 version of linuxcnc on mint 20 (I haven't tried that )
Chris
The following user(s) said Thank You: tommylight, faeluke
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19488
- Thank you received: 6536
05 Jan 2021 12:09 #194140
by tommylight
Replied by tommylight on topic Mint 20 and python development
Thank you Chris, that is the issue, Mint20 will insist on using Python 3 even after i had 5 or 6 Python versions installed and the links pointing to them set up, still some stuff would not work.
There is no way of knowing if something will work or not without testing, it will depend on what that code will be using, but in general so far it will have issues with importing modules, especially QT5 modules.
My advice, do not waste time testing this, Python3 messed up plenty of stuff and the internet is full of people having issues with it, installing 19.3 with RT kernel and LinuxCNC takes about 20 to 30 minutes on an oldish PC, takes about 3.5 minutes on my new PC.
Personally i am reverting back for a while till things get sorted out for my testing machines, using Mint 20 on my personal machines and leaving 19.3 on client machines.
There is no way of knowing if something will work or not without testing, it will depend on what that code will be using, but in general so far it will have issues with importing modules, especially QT5 modules.
My advice, do not waste time testing this, Python3 messed up plenty of stuff and the internet is full of people having issues with it, installing 19.3 with RT kernel and LinuxCNC takes about 20 to 30 minutes on an oldish PC, takes about 3.5 minutes on my new PC.
Personally i am reverting back for a while till things get sorted out for my testing machines, using Mint 20 on my personal machines and leaving 19.3 on client machines.
The following user(s) said Thank You: faeluke
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19488
- Thank you received: 6536
05 Jan 2021 12:13 #194142
by tommylight
Have not tried the Buster version yet, i wonder why ?
Replied by tommylight on topic Mint 20 and python development
Yes it does, the Stretch version and the dev, but dev will require some packages to be installed.
Tom says that you can run a precompiled python2 version of linuxcnc on mint 20 (I haven't tried that )
Chris
Have not tried the Buster version yet, i wonder why ?
Please Log in or Create an account to join the conversation.
- faeluke
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 22
- Thank you received: 4
06 Jan 2021 02:10 #194182
by faeluke
Replied by faeluke on topic Mint 20 and python development
Thanks!
I will revert back to 19.3 and let others blaze the trail with 20. I just got my new retrofit project in house and can't wait to start.
I will revert back to 19.3 and let others blaze the trail with 20. I just got my new retrofit project in house and can't wait to start.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
Less
More
- Posts: 10812
- Thank you received: 3559
06 Jan 2021 10:05 #194198
by rodw
Replied by rodw on topic Mint 20 and python development
I think also that its prudent not to be on the bleeding edge of distros. My machine is running Mint 17.3 when 18 had been released!
Glad I chose 19.3 today then. I did sort all of the dependencies out eventually. I just kept checking the errors from autogen.sh until I cleaned them up.
Glad I chose 19.3 today then. I did sort all of the dependencies out eventually. I just kept checking the errors from autogen.sh until I cleaned them up.
Please Log in or Create an account to join the conversation.
Time to create page: 0.106 seconds