Skip to content

Commit c88e8ea

Browse files
kwinkunksmroeschke
andauthored
Generic error message
Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
1 parent d9c8b99 commit c88e8ea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/compat/_optional.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,7 @@ def import_optional_dependency(
152152

153153
msg = (
154154
f"`Import {install_name}` failed. {extra} "
155-
f"Use pip, conda, or your preferred package "
156-
f"manager to install the {install_name} package."
155+
f"Please install the {install_name} package."
157156
)
158157
try:
159158
module = importlib.import_module(name)

0 commit comments

Comments
 (0)