[GRASS-dev] is GRASS master now Python 3 only???

Markus Neteler neteler at osgeo.org
Tue Aug 6 23:09:18 PDT 2019


Michael Barton <Michael.Barton at asu.edu> schrieb am Di., 6. Aug. 2019, 23:29:

> I'm getting a bunch of errors trying to compile GRASS master right now and
> they all seem to be calling for python3. Has this become the default as of
> yesterday or today?
>


Yes.


> Python 2.7 is still the default on the Mac and
>

Python 2 is EOL in some month.

I still have not been able to compile a working Python3 version. Currently
> getting ctype errors.
>

For Python 2 just run

find -name '*.py' | xargs sed -i 's,#!/usr/bin/env python3,#!/usr/bin/env
python2,' && \
    sed -i 's,python3,python2,' include/Make/Platform.make.in
<http://platform.make.in/>

(see the emails on 7.8.0 and 8.0.0 releases of the last 2 days)

Markus


> Michael
> ____________________
> C. Michael Barton
> Director, Center for Social Dynamics & Complexity
> Professor of Anthropology, School of Human Evolution & Social Change
> Head, Graduate Faculty in Complex Adaptive Systems Science
> Arizona State University
>
> voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
> fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
> www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20190807/9346a197/attachment-0001.html>


More information about the grass-dev mailing list