I posted the following on libera.chat#grass but it seemed like there isn't much activity on there (pls. excuse if I'm wrong on that).
I spent the day learning how to compile the grass8.4dev source, and managed to get the app to compile, and fire up
but there's a glitch, it compiled against the system python which is only v3.6 (not compatible based on REQUIREMENTS file)
and I don't know how to point it at python v3.11.
This is on OpenSuse 15.5 Linux, btw, and though the Grass application windows work well, I get errors in the console related mostly to python,
when trying to use the various modules, for example using r.in.png.
I've tried per-user setting python3 aliased to v3.11 in my .bashrc, but no luck Grass still shows v3.6 in Help/about/system ..
I'm wondering whether I should use update-alternatives approach, and also wondering whether the problem might be related to wxpython3 being linked to the system python and not v3.11.
I haven't compiled wxpython separately.
I'm just hoping someone might be able to point me in the right direction
I understand you are using openSUSE Leap. At the moment I cannot check which Python version is offered there as base. Are you sure you cant install a newer version? If that is not possible you could perhaps install a newer version using your own separate local environment, using miniforge, for example.
I use openSUSE Tumbleweed and always build from source. Python 3.11 is the base version now, with 3.12 starting to be rolled in. Perhaps it is not too crazy to try TW?
I posted the following on libera.chat#grass but it seemed like there
isn’t much activity on there (pls. excuse if I’m wrong on that).
I spent the day learning how to compile the grass8.4dev source, and
managed to get the app to compile, and fire up
but there’s a glitch, it compiled against the system python which is
only v3.6 (not compatible based on REQUIREMENTS file)
and I don’t know how to point it at python v3.11.
This is on OpenSuse 15.5 Linux, btw, and though the Grass application
windows work well, I get errors in the console related mostly to python,
when trying to use the various modules, for example using r.in.png.
I’ve tried per-user setting python3 aliased to v3.11 in my .bashrc, but
no luck Grass still shows v3.6 in Help/about/system …
I’m wondering whether I should use update-alternatives approach, and
also wondering whether the problem might be related to wxpython3 being
linked to the system python and not v3.11.
I haven’t compiled wxpython separately.
I’m just hoping someone might be able to point me in the right direction
I understand you are using openSUSE Leap. At the moment I cannot check which Python version is offered there as base. Are you sure you cant install a newer version? If that is not possible you could perhaps install a newer version using your own separate local environment, using miniforge, for example.
I use openSUSE Tumbleweed and always build from source. Python 3.11 is the base version now, with 3.12 starting to be rolled in. Perhaps it is not too crazy to try TW?
I posted the following on libera.chat#grass but it seemed like there
isn’t much activity on there (pls. excuse if I’m wrong on that).
I spent the day learning how to compile the grass8.4dev source, and
managed to get the app to compile, and fire up
but there’s a glitch, it compiled against the system python which is
only v3.6 (not compatible based on REQUIREMENTS file)
and I don’t know how to point it at python v3.11.
This is on OpenSuse 15.5 Linux, btw, and though the Grass application
windows work well, I get errors in the console related mostly to python,
when trying to use the various modules, for example using r.in.png.
I’ve tried per-user setting python3 aliased to v3.11 in my .bashrc, but
no luck Grass still shows v3.6 in Help/about/system …
I’m wondering whether I should use update-alternatives approach, and
also wondering whether the problem might be related to wxpython3 being
linked to the system python and not v3.11.
I haven’t compiled wxpython separately.
I’m just hoping someone might be able to point me in the right direction
Many thanks for your helpful suggestions. In fact you both helped me in finding the solution to the issue I’ve had getting Grass compiled against a newer Python than the one in the OpenSuse 15.5 base system. Your replies gave me the confidence to pursue building the Grass application with Python v3.11, and to use a Python virtual environment in doing so.
I’m very happy to report, that today [Sat] I managed to build the latest development release Grass from source, and the python-related errors are now gone :
I understand you are using openSUSE Leap. At the moment I cannot check which Python version is offered there as base. Are you sure you cant install a newer version? If that is not possible you could perhaps install a newer version using your own separate local environment, using miniforge, for example.
I use openSUSE Tumbleweed and always build from source. Python 3.11 is the base version now, with 3.12 starting to be rolled in. Perhaps it is not too crazy to try TW?
I posted the following on libera.chat#grass but it seemed like there
isn’t much activity on there (pls. excuse if I’m wrong on that).
I spent the day learning how to compile the grass8.4dev source, and
managed to get the app to compile, and fire up
but there’s a glitch, it compiled against the system python which is
only v3.6 (not compatible based on REQUIREMENTS file)
and I don’t know how to point it at python v3.11.
This is on OpenSuse 15.5 Linux, btw, and though the Grass application
windows work well, I get errors in the console related mostly to python,
when trying to use the various modules, for example using r.in.png.
I’ve tried per-user setting python3 aliased to v3.11 in my .bashrc, but
no luck Grass still shows v3.6 in Help/about/system …
I’m wondering whether I should use update-alternatives approach, and
also wondering whether the problem might be related to wxpython3 being
linked to the system python and not v3.11.
I haven’t compiled wxpython separately.
I’m just hoping someone might be able to point me in the right direction
I understand you are using openSUSE Leap. At the moment I cannot check which Python version is offered there as base. Are you sure you cant install a newer version? If that is not possible you could perhaps install a newer version using your own separate local environment, using miniforge, for example.
I use openSUSE Tumbleweed and always build from source. Python 3.11 is the base version now, with 3.12 starting to be rolled in. Perhaps it is not too crazy to try TW?
I posted the following on libera.chat#grass but it seemed like there
isn’t much activity on there (pls. excuse if I’m wrong on that).
I spent the day learning how to compile the grass8.4dev source, and
managed to get the app to compile, and fire up
but there’s a glitch, it compiled against the system python which is
only v3.6 (not compatible based on REQUIREMENTS file)
and I don’t know how to point it at python v3.11.
This is on OpenSuse 15.5 Linux, btw, and though the Grass application
windows work well, I get errors in the console related mostly to python,
when trying to use the various modules, for example using r.in.png.
I’ve tried per-user setting python3 aliased to v3.11 in my .bashrc, but
no luck Grass still shows v3.6 in Help/about/system …
I’m wondering whether I should use update-alternatives approach, and
also wondering whether the problem might be related to wxpython3 being
linked to the system python and not v3.11.
I haven’t compiled wxpython separately.
I’m just hoping someone might be able to point me in the right direction