- Posts: 913
- Thank you received: 0
Probe Basic is it compatible with Python3?
- robertspark
- Topic Author
- Offline
- Platinum Member
-
Less
More
5 years 1 month ago #220077
by robertspark
Probe Basic is it compatible with Python3? was created by robertspark
As per the title, I was wondering if Probe Basic is compatible with Python 3
The QtPyVCP + Probe Basic documentation seem to mention Debian 9 and Python 2.7
No mention of a clean install for debian 11 and a RIP install of linuxcnc of current master from git
Thanks,
The QtPyVCP + Probe Basic documentation seem to mention Debian 9 and Python 2.7
No mention of a clean install for debian 11 and a RIP install of linuxcnc of current master from git
Thanks,
Please Log in to join the conversation.
5 years 1 month ago #220086
by Joco
Replied by Joco on topic Probe Basic is it compatible with Python3?
There is a py3 version. But probably need to get from the repo.
github.com/kcjengr/probe_basic/tree/python3
Cheers - J.
github.com/kcjengr/probe_basic/tree/python3
Cheers - J.
Please Log in to join the conversation.
5 years 3 weeks ago #222238
by spumco
Replied by spumco on topic Probe Basic is it compatible with Python3?
Robert - did you manage to get the Python 3 compatible version of PB installed?
If so, would you mind walking me through the process? I'm stumbling around trying to digest this new universe.
Thx,
Ralph
If so, would you mind walking me through the process? I'm stumbling around trying to digest this new universe.
Thx,
Ralph
Please Log in to join the conversation.
- robertspark
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 913
- Thank you received: 0
5 years 3 weeks ago #222241
by robertspark
Replied by robertspark on topic Probe Basic is it compatible with Python3?
hi Ralph, I am away for a couple of days, I will be back over the weekend, yes happy to go through it no problem
Please Log in to join the conversation.
5 years 3 weeks ago #222242
by spumco
Replied by spumco on topic Probe Basic is it compatible with Python3?
Please Log in to join the conversation.
5 years 3 weeks ago #222250
by TurBoss
Replied by TurBoss on topic Probe Basic is it compatible with Python3?
Hello,
you can install development version of probebasic with python3 support but still in testing
```
git clone -b python3 github.com/kcjengr/probe_basic.git
cd probe_basic
python3 -m pip install qtpyvcp
python3 -m pip install -e .
```
then you could find sample configs under probe_basic/config/probe_basic
and run linuxcnc probe_basic.ini
you can install development version of probebasic with python3 support but still in testing
```
git clone -b python3 github.com/kcjengr/probe_basic.git
cd probe_basic
python3 -m pip install qtpyvcp
python3 -m pip install -e .
```
then you could find sample configs under probe_basic/config/probe_basic
and run linuxcnc probe_basic.ini
Please Log in to join the conversation.
5 years 3 weeks ago #222321
by spumco
Replied by spumco on topic Probe Basic is it compatible with Python3?
Thanks for the assist, but it didn't work for me. Got an error message "could not find file...probe_basic.ini"
I'm quite sure I'm doing something wrong, but of all the steps I really can't figure out where I'm going wrong.
I did get 2.8.2 installed, and probe basic installed, but started getting errors on that and other GUI's.
Tried again from scratch (clean MX install) today and followed your instructions below. No joy.
I'm quite sure I'm doing something wrong, but of all the steps I really can't figure out where I'm going wrong.
I did get 2.8.2 installed, and probe basic installed, but started getting errors on that and other GUI's.
Tried again from scratch (clean MX install) today and followed your instructions below. No joy.
Please Log in to join the conversation.
5 years 3 weeks ago #222322
by Joco
Replied by Joco on topic Probe Basic is it compatible with Python3?
spumco - just to make sure on the same page.
Linuxcnc 2.8.x is only compatible with python2. If you have installed GUIs as python3 installs they will not work with Linuxcnc 2.8.x.
If you want to use ProbeBasic under python3 then you will need to have installed a python3 capable version of Linuxcnc. My understanding is that linuxcnc 2.9.x is now pyyhon3.
Thanks.
Linuxcnc 2.8.x is only compatible with python2. If you have installed GUIs as python3 installs they will not work with Linuxcnc 2.8.x.
If you want to use ProbeBasic under python3 then you will need to have installed a python3 capable version of Linuxcnc. My understanding is that linuxcnc 2.9.x is now pyyhon3.
Thanks.
Please Log in to join the conversation.
5 years 3 weeks ago #222323
by spumco
Replied by spumco on topic Probe Basic is it compatible with Python3?
Joco,
Again, thanks. When I mentioned that I installed 2.8, that was two days ago. As of this minute, I've got 2.9 back on it.
2.8xx requires python2
2.9 requires python3
Probe basic 'normal' requires python2
Probe basic (test per TurBoss) requires:
[edit - added error logs in case somone knows what they mean]
Again, thanks. When I mentioned that I installed 2.8, that was two days ago. As of this minute, I've got 2.9 back on it.
2.8xx requires python2
2.9 requires python3
Probe basic 'normal' requires python2
Probe basic (test per TurBoss) requires:
- python3
- QtPyVCP for python3
- LCNC-RIP (I think - according to the WARNING on the QtPyVCP installation page)
Following the MXLinux install guide to the letter resulted in MX, LCNC 2.9, and python3.
After that, I tried TurBoss' instructions verbatim, but those didn't install QtPyVCP - or at least when I ran qtpyvcp -h in a terminal all I got was a 'no such file' error.
Then I went step-by-step in the qtpyvcp installation. Did the standard installation and no probe basic. Ran the RIP installation (linuxcnc-dev/scripts/linuxcnc) and no probe basic.
So I'm sort of stuck.
[edit - added error logs in case somone knows what they mean]
Please Log in to join the conversation.
5 years 3 weeks ago #222383
by Joco
Replied by Joco on topic Probe Basic is it compatible with Python3?
Did you run the “qtpyvcp -h” after setting the rip run environment?
until you can get that basic test working not a lot of point going further.
until you can get that basic test working not a lot of point going further.
Please Log in to join the conversation.
Time to create page: 0.101 seconds
