mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 05:18:00 +00:00
improve error message on missing modules from nominatim_api
This commit is contained in:
@@ -243,7 +243,8 @@ def get_set_parser() -> CommandlineParser:
|
||||
raise ex
|
||||
|
||||
parser.parser.epilog = \
|
||||
'\n\nNominatim API package not found. The following commands are not available:'\
|
||||
f'\n\nNominatim API package not found (was looking for module: {ex.name}).'\
|
||||
'\nThe following commands are not available:'\
|
||||
'\n export, convert, serve, search, reverse, lookup, details, status'\
|
||||
"\n\nRun 'pip install nominatim-api' to install the package."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user