OK. I'll put it into my .profile and see what happens. Thanks. The other issue I'm hitting is that the configure argument to enable wxPython, '-with-wxwidgets=' expects a path to a wx_config file. AFAICT, wxPython 4 does not have such a file. And I can't yet find anything that seems to serve the same function. I can put in a path to the folder/directory where the wxPython 4 files live. While this compiles without error, I don't think it is using wxPython 4.
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 On Jul 27, 2017, at 9:43 PM, Vaclav Petras <[email protected]<mailto:[email protected]>> wrote: On Thu, Jul 27, 2017 at 11:13 PM, Michael Barton <[email protected]<mailto:[email protected]>> wrote: I don't remember the exact wording. I had set up a conda virtual environment to force GRASS to compile and run with Anaconda Python and wxPython 4. When I launched GRASS (trunk), I got an error message that it would only run with a system Python. I thought that is weird. Anyway, I tried setting GRASS_PYTHON to no avail. See below: g.gisenv get=GRASS_PYTHON "/Applications/anaconda/bin/python"GRASS 7.3.svn (nc_spm_08_grass7):~ > python Python 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin Type "help", "copyright", "credits" or "license" for more information. GRASS_PYTHON, is set, but it is still using system Python 2.7.10 instead of Anaconda Python 2.7.13 GRASS_PYTHON is actually an environmental variable (system driven, not by GRASS) , so you need to use: export GRASS_PYTHON=/.../python # set value echo $GRASS_PYTHON # get value g.setenv changes the GRASS (environment) variables (aka "GIS env" or "GRASS variables"). https://grass.osgeo.org/grass72/manuals/variables.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__grass.osgeo.org_grass72_manuals_variables.html&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=MD1Gik_Ukb94oqEn8xUzM4MmRA32DEGKDb9KLMTZOeY&s=EmOd1wDPGNwdhIbBwQvgT8t-sVeUaSNgAgSR9kFJRvM&e=> https://grass.osgeo.org/grass72/manuals/g.gisenv.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__grass.osgeo.org_grass72_manuals_g.gisenv.html&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=MD1Gik_Ukb94oqEn8xUzM4MmRA32DEGKDb9KLMTZOeY&s=yo3Xc65iMuqORBwABV8dM4gXsPwdzeI4P-Uqi_-XZZ0&e=>
_______________________________________________ grass-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-dev
