I am following a nlp tutorial this is the video I am on: https://www.youtube.com/watch?v=h2kBNEShsiE&list=PLeo1K3hjS3uuvuAXhYjV2lMEShq2UYSwX&index=7
In the video the instructor asks us to run the command python -m spacy download en but when I try to run it I get this:
Traceback (most recent call last):
File “”, line 198, in _run_module_as_main
File “”, line 88, in run_code
File “C:UsersalokkAppDataLocalProgramsPythonPython311Libsite-packagesspacy_main.py”, line 4, in
setup_cli()
File “C:UsersalokkAppDataLocalProgramsPythonPython311Libsite-packagesspacycli_util.py”, line 87, in setup_cli
command(prog_name=COMMAND)
File “C:UsersalokkAppDataLocalProgramsPythonPython311Libsite-packagesclickcore.py”, line 829, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:UsersalokkAppDataLocalProgramsPythonPython311Libsite-packagestypercore.py”, line 783, in main
return _main(
^^^^^^
File “C:UsersalokkAppDataLocalProgramsPythonPython311Libsite-packagestypercore.py”, line 199, in _main
args = click.utils._expand_args(args)
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module ‘click.utils’ has no attribute ‘_expand_args’
I have tried running it in vscode command prompt, command prompt, administrator command prompt, powershell, and administrator powershell.
Can anyone help me?
I tried to install the en libraries for spacy but it didn’t work and returned an error.