rip-install with python3.12 .... and build package problem
04 Oct 2024 14:52 - 08 Oct 2024 16:04 #311288
by bkt
rip-install with python3.12 .... and build package problem was created by bkt
############ after an investigation see that need to install a rip version on my so ##########
############ but need to know witch version dowload for work with python 3.12 ###########
************* short story ****************
using rip-istall of Lcnc-master(2.10.0) no problem with python 3.12 on mint22
some trouble with sudo make install .... but whit . ./scripts/rip-environment all works fine
********************************************
there is a version that can utilize phyton 3.12 .... or still need to use 3.11 ?? or there is a trik for use 3.12 instead 3.11?? I try to use builbot repo but seems 2.9.3 need phyton 3.11 instead default 3.12 installed on my so.
thanks
regards
############ but need to know witch version dowload for work with python 3.12 ###########
************* short story ****************
using rip-istall of Lcnc-master(2.10.0) no problem with python 3.12 on mint22
some trouble with sudo make install .... but whit . ./scripts/rip-environment all works fine
********************************************
there is a version that can utilize phyton 3.12 .... or still need to use 3.11 ?? or there is a trik for use 3.12 instead 3.11?? I try to use builbot repo but seems 2.9.3 need phyton 3.11 instead default 3.12 installed on my so.
thanks
regards
Last edit: 08 Oct 2024 16:04 by bkt.
Please Log in or Create an account to join the conversation.
04 Oct 2024 15:19 #311291
by Aciera
Replied by Aciera on topic python3.12 ....
Maybe try debian 13, according to this that comes with python 3.12.5:
forum.linuxcnc.org/qtpyvcp/53790-probe-b...-installation#309684
forum.linuxcnc.org/qtpyvcp/53790-probe-b...-installation#309684
Please Log in or Create an account to join the conversation.
05 Oct 2024 09:06 #311338
by bkt
Replied by bkt on topic python3.12 ....
I see that post .... but someone make something wrong .... I my knowelge, trixie oficially support 3.11.2 .... but see they have repo for python3.13 ... so maybe if one use "alternatives" can install 3.12 and 3.13 too .... but think goal derived mainly from "import" macro that from 3.12 is unsupported. So because not use debian .... need to try to use debian13 repo for linuxcnc ... after these can return here.
After these if some app like "teminal" is build with python3.11 .... can not work on python3.12 as python system library ... because as write previously "import" macro is not support at all .... after these I'm not python programmer .... so not understand how is possible install so with 3.11 and than select 3.13 as principal library .... maybe in a IDLE for programming and debug .... Or maybe "DYNAMIC" permit to change these on fly ....
After these if some app like "teminal" is build with python3.11 .... can not work on python3.12 as python system library ... because as write previously "import" macro is not support at all .... after these I'm not python programmer .... so not understand how is possible install so with 3.11 and than select 3.13 as principal library .... maybe in a IDLE for programming and debug .... Or maybe "DYNAMIC" permit to change these on fly ....
Please Log in or Create an account to join the conversation.
05 Oct 2024 09:38 #311341
by Aciera
wiki.debian.org/Python
In any case the thread linked above indicates that installing debian Trixie installs python > 3.12
Replied by Aciera on topic python3.12 ....
Seems to depend on where you look:I see that post .... but someone make something wrong .... I my knowelge, trixie oficially support 3.11.2
wiki.debian.org/Python
In any case the thread linked above indicates that installing debian Trixie installs python > 3.12
The following user(s) said Thank You: bkt
Please Log in or Create an account to join the conversation.
05 Oct 2024 11:10 #311346
by bkt
Replied by bkt on topic python3.12 ....
so maybe the trik is to add trixie repo .... ok I try ... for now have some problem with qt6.
regards
regards
Please Log in or Create an account to join the conversation.
05 Oct 2024 16:25 - 05 Oct 2024 16:30 #311357
by bkt
Replied by bkt on topic python3.12 ....
seems there are problem with repo key ... try to add "deb deb.debian.org/debian trixie main" ... but I receive the message:
GPG error: deb.debian.org/debian trixie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131The repository 'deb.debian.org/debian trixie InRelease' is not signed.
there is an avaiable and valid pub-key?
regards
GPG error: deb.debian.org/debian trixie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131The repository 'deb.debian.org/debian trixie InRelease' is not signed.
there is an avaiable and valid pub-key?
regards
Last edit: 05 Oct 2024 16:30 by bkt.
Please Log in or Create an account to join the conversation.
06 Oct 2024 11:05 - 06 Oct 2024 11:15 #311397
by bkt
Replied by bkt on topic python3.12 ....
see need to make a rip install .... but need to know witch version work with python3.12 ..... if someone suggest me thanks, because if read on some py file on git 2.9.3 for example .... there are a lot of "import" macro where i read normally is better use "importlib" ... but I'm not a python programmer ... so ask to specialist.
regards
regards
Last edit: 06 Oct 2024 11:15 by bkt.
Please Log in or Create an account to join the conversation.
06 Oct 2024 12:02 #311399
by Aciera
Replied by Aciera on topic python3.12 ....
Not sure what makes you think that using 'importlib' is better than 'import' but if you want you can read all about it here:
docs.python.org/3/reference/import.html
In your case I would just simply install Debian 13 and then go through the rip install process. This way you can checkout whatever version of linuxcnc you want and run it.
docs.python.org/3/reference/import.html
In your case I would just simply install Debian 13 and then go through the rip install process. This way you can checkout whatever version of linuxcnc you want and run it.
Please Log in or Create an account to join the conversation.
06 Oct 2024 12:57 - 06 Oct 2024 12:58 #311403
by cmorley
Replied by cmorley on topic python3.12 ....
From memory, I believe compiling uses the python version that is on the system rather then specifying a minimum version (as it once did).
Try compiling/ building a deb on the system you wish to run on.
Try compiling/ building a deb on the system you wish to run on.
Last edit: 06 Oct 2024 12:58 by cmorley.
Please Log in or Create an account to join the conversation.
06 Oct 2024 18:38 - 06 Oct 2024 18:40 #311425
by bkt
Replied by bkt on topic python3.12 ....
exactly i compiled over linux mint 22 with kernel 6.10.2-rt14 .... rip install using master branch, configure --with-realtime=uspace --enable-non-distributable=yes ..... and all work perfect. During make process I see clarely that "make" check with success python3.12 .... and at end all work well.
First to configure I check debian dependancy, install a long list of library ... (debhelper (>= 12) dh-python docbook-xsl asciidoc imagemagick asciidoc-dblatex intltool libgpiod-dev libxmu-dev netpbm po4a xvfb dblatex (>= 0.2.12) dvipng fonts-dejavu graphviz groff inkscape source-highlight texlive-extra-utils texlive-font-utils texlive-fonts-recommended texlive-lang-cyrillic texlive-lang-european texlive-lang-french texlive-lang-german texlive-lang-polish texlive-lang-spanish texlive-latex-recommended w3c-linkchecker xsltproc texlive-xetex). The only problem was libjpeg8-dev conflict version .... so I leave out from my system. Not needed. After can Install.
Just try latency-histogram --nobase -sbinsize 1000 with 6 glxgear and 4 youtube video dance music + ethercat line active over etherlab 1.6 ..... after 6hout sdev(us) was 2.8 and min/max from -66 to 78 .... quite good for servo. Now need to manage bios and add some condition on grub .... think latency become a little bit better than now.
Now only doubt is how to install a rip-version of linuxcnc-ethercat ..... never done. .... I try.
Thanks to all for effort.
regards
First to configure I check debian dependancy, install a long list of library ... (debhelper (>= 12) dh-python docbook-xsl asciidoc imagemagick asciidoc-dblatex intltool libgpiod-dev libxmu-dev netpbm po4a xvfb dblatex (>= 0.2.12) dvipng fonts-dejavu graphviz groff inkscape source-highlight texlive-extra-utils texlive-font-utils texlive-fonts-recommended texlive-lang-cyrillic texlive-lang-european texlive-lang-french texlive-lang-german texlive-lang-polish texlive-lang-spanish texlive-latex-recommended w3c-linkchecker xsltproc texlive-xetex). The only problem was libjpeg8-dev conflict version .... so I leave out from my system. Not needed. After can Install.
Just try latency-histogram --nobase -sbinsize 1000 with 6 glxgear and 4 youtube video dance music + ethercat line active over etherlab 1.6 ..... after 6hout sdev(us) was 2.8 and min/max from -66 to 78 .... quite good for servo. Now need to manage bios and add some condition on grub .... think latency become a little bit better than now.
Now only doubt is how to install a rip-version of linuxcnc-ethercat ..... never done. .... I try.
Thanks to all for effort.
regards
Last edit: 06 Oct 2024 18:40 by bkt.
Please Log in or Create an account to join the conversation.
Time to create page: 0.077 seconds