[GRASS-user] How to avoid Grass84 compiling against the system Python3.6?
Anna Petrášová
kratochanna at gmail.com
Fri Mar 22 07:00:41 PDT 2024
There is GRASS_PYTHON variable you can try. Running GRASS in virtual
environment should work too.
On Thu, Mar 21, 2024 at 2:39 AM Hernán De Angelis via grass-user <
grass-user at lists.osgeo.org> wrote:
> 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?
>
> Good luck!
>
> Hernán
>
> Den tors 21 mars 2024 01:23Barry Keeling via grass-user <
> grass-user at lists.osgeo.org> skrev:
>
>> Hi @grass-users,
>>
>> 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
>> :-)
>>
>> Barry
>>
>>
>> _______________________________________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/grass-user
>>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20240322/f41da096/attachment.htm>
More information about the grass-user
mailing list