Probe Basic is it compatible with Python3?

More
09 Sep 2021 19:20 #220077 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,

Please Log in or Create an account to join the conversation.

More
09 Sep 2021 21:56 - 09 Sep 2021 22:01 #220086 by Joco
There is a py3 version. But probably need to get from the repo.
github.com/kcjengr/probe_basic/tree/python3


Cheers - J.
Last edit: 09 Sep 2021 22:01 by Joco.
The following user(s) said Thank You: robertspark

Please Log in or Create an account to join the conversation.

More
05 Oct 2021 02:39 #222238 by spumco
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

Please Log in or Create an account to join the conversation.

More
05 Oct 2021 04:13 #222241 by robertspark
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
The following user(s) said Thank You: spumco

Please Log in or Create an account to join the conversation.

More
05 Oct 2021 04:34 #222242 by spumco
Thanks Robert, at your convenience.

Trying to get away from UCCNC, but I think I've underestimated the emotional investment required.

Please Log in or Create an account to join the conversation.

More
05 Oct 2021 06:10 - 05 Oct 2021 06:27 #222250 by TurBoss
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


 
Last edit: 05 Oct 2021 06:27 by TurBoss.
The following user(s) said Thank You: Roguish, spumco

Please Log in or Create an account to join the conversation.

More
05 Oct 2021 23:59 - 06 Oct 2021 00:01 #222321 by spumco
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.
Last edit: 06 Oct 2021 00:01 by spumco.

Please Log in or Create an account to join the conversation.

More
06 Oct 2021 00:27 #222322 by Joco
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.

Please Log in or Create an account to join the conversation.

More
06 Oct 2021 00:43 - 06 Oct 2021 01:46 #222323 by spumco
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:
  • 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]
 
Attachments:
Last edit: 06 Oct 2021 01:46 by spumco. Reason: add error log
The following user(s) said Thank You: Joco

Please Log in or Create an account to join the conversation.

More
06 Oct 2021 17:09 #222383 by Joco
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.  

Please Log in or Create an account to join the conversation.

Moderators: KCJLcvette
Time to create page: 0.197 seconds
Powered by Kunena Forum