From 92af19ffbf96bfbcce54d0d0227b3c85b41c6b11 Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Sun, 29 Oct 2023 22:54:47 +0100 Subject: [PATCH] Fix pip install error messages --- py-polars/polars/io/database.py | 2 +- py-polars/polars/io/delta.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/py-polars/polars/io/database.py b/py-polars/polars/io/database.py index 1f0795b3df0d..d35cf921e692 100644 --- a/py-polars/polars/io/database.py +++ b/py-polars/polars/io/database.py @@ -719,7 +719,7 @@ def _read_sql_connectorx( except ModuleNotFoundError: raise ModuleNotFoundError( "connectorx is not installed" - "\n\nPlease run: pip install connectorx>=0.3.2" + "\n\nPlease run: pip install 'connectorx>=0.3.2'" ) from None try: diff --git a/py-polars/polars/io/delta.py b/py-polars/polars/io/delta.py index b45cc66608aa..1ba56843e3db 100644 --- a/py-polars/polars/io/delta.py +++ b/py-polars/polars/io/delta.py @@ -316,7 +316,7 @@ def _get_delta_lake_table( def _check_if_delta_available() -> None: if not _DELTALAKE_AVAILABLE: raise ModuleNotFoundError( - "deltalake is not installed\n\nPlease run: pip install deltalake>=0.9.0" + "deltalake is not installed\n\nPlease run: pip install 'deltalake>=0.9.0'" )