We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74e08b7 commit 99a821cCopy full SHA for 99a821c
1 file changed
bindings/python/genomicsqlite/__init__.py
@@ -239,6 +239,15 @@ def _cli():
239
)
240
sys.exit(1)
241
242
+ import shutil
243
+
244
+ if not shutil.which("sqlite3"):
245
+ print(
246
+ "Error: the `sqlite3` command-line shell doesn't seem to be available; ensure it's installed and found in $PATH",
247
+ file=sys.stderr,
248
+ )
249
+ sys.exit(1)
250
251
cfg = {}
252
try:
253
sys.argv[sys.argv.index("--readonly")] = "-readonly"
0 commit comments