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'" )