mirror of https://github.com/explosion/spaCy.git
Fix pip args
This commit is contained in:
parent
b46073234a
commit
b9573e9e22
|
@ -105,6 +105,6 @@ def download_model(
|
|||
filename: str, user_pip_args: Optional[Sequence[str]] = None
|
||||
) -> None:
|
||||
download_url = about.__download_url__ + "/" + filename
|
||||
pip_args = user_pip_args if user_pip_args is not None else []
|
||||
pip_args = list(user_pip_args) if user_pip_args is not None else []
|
||||
cmd = [sys.executable, "-m", "pip", "install"] + pip_args + [download_url]
|
||||
run_command(cmd)
|
||||
|
|
Loading…
Reference in New Issue