Skip to content

Commit 273e16f

Browse files
BioGeeklhoestq
andauthored
fix: show correct package name to install biopython (#6662)
Co-authored-by: Quentin Lhoest <[email protected]>
1 parent 0acb273 commit 273e16f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/datasets/load.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,8 @@ def _download_additional_modules(
344344
_them_str = "them" if len(needs_to_be_installed) > 1 else "it"
345345
if "sklearn" in needs_to_be_installed.keys():
346346
needs_to_be_installed["sklearn"] = "scikit-learn"
347+
if "Bio" in needs_to_be_installed.keys():
348+
needs_to_be_installed["Bio"] = "biopython"
347349
raise ImportError(
348350
f"To be able to use {name}, you need to install the following {_dependencies_str}: "
349351
f"{', '.join(needs_to_be_installed)}.\nPlease install {_them_str} using 'pip install "

0 commit comments

Comments
 (0)