module name error #7718
-
ModuleNotFoundError Traceback (most recent call last) C:\ProgramData\Anaconda3\lib\site-packages\chatterbot\chatterbot.py in init(self, name, **kwargs) C:\ProgramData\Anaconda3\lib\site-packages\chatterbot\utils.py in initialize_class(data, *args, **kwargs) C:\ProgramData\Anaconda3\lib\site-packages\chatterbot\storage\sql_storage.py in init(self, **kwargs) C:\ProgramData\Anaconda3\lib\site-packages\chatterbot\storage\storage_adapter.py in init(self, *args, **kwargs) C:\ProgramData\Anaconda3\lib\site-packages\chatterbot\tagging.py in init(self, language) C:\ProgramData\Anaconda3\lib\site-packages\spacy_init_.py in load(name, **overrides) C:\ProgramData\Anaconda3\lib\site-packages\spacy\util.py in load_model(name, **overrides) C:\ProgramData\Anaconda3\lib\site-packages\spacy\util.py in load_model_from_package(name, **overrides) C:\ProgramData\Anaconda3\lib\importlib_init_.py in import_module(name, package) C:\ProgramData\Anaconda3\lib\importlib_bootstrap.py in _gcd_import(name, package, level) C:\ProgramData\Anaconda3\lib\importlib_bootstrap.py in find_and_load(name, import) C:\ProgramData\Anaconda3\lib\importlib_bootstrap.py in find_and_load_unlocked(name, import) ModuleNotFoundError: No module named 'en' |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
pls help me as i already install spacy still i got error after that i installed python -m spacy download en i got this- |
Beta Was this translation helpful? Give feedback.
-
Hi! As a maintenance note - this type of question is better suited for the discussion forum, so I'll move it there. The original issue will be closed, but will link through to the new, open discussion thread. |
Beta Was this translation helpful? Give feedback.
-
On Fri, 9 Apr 2021 at 3:10 PM, Sofie Van Landeghem ***@***.***> wrote:
As a first guess, it looks like you're trying to use a plugin that assumes
spacy.load('en') works, but this doesn't work on your system because you
don't have admin privilidges to create the symlink?
yes i dnt hv
… —
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7718 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ2NGQIHXR2LI7UOU2ZCV2LTH3DSJANCNFSM42UUAWLA>
.
|
Beta Was this translation helpful? Give feedback.
-
now tell me what will i do to remove this error???
…On Fri, 9 Apr 2021 at 3:28 PM, Jatin Batra ***@***.***> wrote:
On Fri, 9 Apr 2021 at 3:10 PM, Sofie Van Landeghem <
***@***.***> wrote:
> As a first guess, it looks like you're trying to use a plugin that
> assumes spacy.load('en') works, but this doesn't work on your system
> because you don't have admin privilidges to create the symlink?
>
yes i dnt hv
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#7718 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AQ2NGQIHXR2LI7UOU2ZCV2LTH3DSJANCNFSM42UUAWLA>
> .
>
|
Beta Was this translation helpful? Give feedback.
-
The use of symlinks has been deprecated for some time - instead of writing something like From your original post, I get the impression that you're using an external library though. If you can't change the You can find more information and workarounds detailed in the v2 docs here: https://v2.spacy.io/usage/#symlink-privilege |
Beta Was this translation helpful? Give feedback.
The use of symlinks has been deprecated for some time - instead of writing something like
spacy.load("en")
we advise to be specific about the model you want to use - e.g.spacy.load("en_core_web_sm")
From your original post, I get the impression that you're using an external library though. If you can't change the
spacy.load()
statement yourself, you'll have to find a way to ensure the linking works on your system. I assume you're working on Windows? The reference to "admin permissions" means that the system prevented proper execution of the linking. To remedy, you should start your console that you're using to executespacy download
with admin priviledges.You can find more information a…