[GRASS-dev] How to install grass development package
dustming at gmail.com
Mon Sep 7 07:28:20 PDT 2020
Many thanks for your reply. I solve the problem by 1) configure the
grass source code and then make. 2) modify the make.platform in the
generated /include/Make folder. and then compile the grass addons for my
QGIS GRASS with these files.
I guess following your suggestions install whole grass is a more clean
solution to me. I will try that later.
Thanks again for all your kind support
Nicklas Larsson <n_larsson at yahoo.com> 于2020年9月7日周一 上午8:52写道：
> Hi Ming,
> The bundled mac distributions are normally pre-packaged with all
> dependencies needed, including python. In those cases it is difficult to
> change python version.
> Again, if you need close integration to QGIS, the following may not answer
> to your needs:
> A standard unix-like build of GRASS is python version independent, which
> means it is enough to set the environment variable GRASS_PYTHON to the
> python binary of choice (e.g. GRASS_PYTHON=/usr/local/bin/python3.8). This
> also works on mac. The problem on Mac is how to deal with dependencies. I
> personally make use of MacPorts for GRASS development and testing. I first
> install GRASS with MacPorts, then I have the dependencies I need in
> /opt/local, which can be used for configure, make and make install .
> Alternatively, you can build your own GRASS.app with grass-conda 
> building script. You can duplicate the default/conda-requirements-dev.txt,
> set appropriate python version and use the new file as --conda-file.
> / Nicklas
>  https://grasswiki.osgeo.org/wiki/Compile_and_Install
>  https://github.com/nilason/grass-conda
> > On Saturday, 5 September 2020, 04:15:17 CEST, ming han <
> dustming at gmail.com> wrote:
> > Hi everyone
> > Thanks for all your help. Is it possible for me to build grass with a
> specific python version? And how to do that?
> > Thanks
> > Ming
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-dev