diff --git a/spacy/cli/download.py b/spacy/cli/download.py index ffa1f00e8..1555531da 100644 --- a/spacy/cli/download.py +++ b/spacy/cli/download.py @@ -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)