Hello Joseph, There is a solution, but it is not straight forward: https://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly
Another option is to start your editor from the GRASS command line. Regards, Laurent 2017-04-04 9:12 GMT-05:00 Joseph Kariuki <[email protected]>: > Hi? > > I have been trying to call GRASS modules using python outside GRASS session, > I am coding in PyCharm however, I am having a problem importing grass > scripts and the solution being provided is setting GRASS environment > variables. How do I go about that so to import GRASS modules in Pycharm? > > > Kind Regards, > Joseph Kariuki > > Geospatial Engineer | GIS / Web Developer > > _______________________________________________ > grass-user mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/grass-user _______________________________________________ grass-user mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-user
