>Thanks for your swift reply! > >In v.in.pygbif the import of pygbif is also done in a try-except statement. > >Maybe the difference is that pyspatialite is installed on the build system, while pygbif is (naturally) not >(yet)?
https://trac.osgeo.org/grass/browser/grass-addons/grass7/vector/v.in.pygbif/v.in.pygbif.py#L179 179 try: 180 from pygbif import occurrences 181 from pygbif import species 182 except ImportError: 183 grass.fatal(_("Cannot import pygbif (https://github.com/sckott/pygbif)" 184 " library." 185 " Please install it (pip install pygbif)" 186 " or ensure that it is on path" 187 " (use PYTHONPATH variable).")) 188 189 190 def main(): the difference ist that in v.in.natura2000 it's done in def main(); in v.in.pygbif it's done before def main() ----- best regards Helmut -- View this message in context: http://osgeo-org.1560.x6.nabble.com/v-in-pygbif-addon-Manual-does-not-build-tp5285571p5285580.html Sent from the Grass - Dev mailing list archive at Nabble.com. _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev