statsmaths / cleanNLP

R package providing annotators and a normalized data model for natural language processing
GNU Lesser General Public License v2.1
209 stars 36 forks source link

Unable to import spacy in python 3.6, after installing spacy via pipwhen tried to import it it shows below error #47

Closed Prashanna313 closed 5 years ago

Prashanna313 commented 5 years ago

File "c:\Python\lib\runpy.py", line 183, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "c:\Python\lib\runpy.py", line 142, in _get_module_details return _get_module_details(pkg_main_name, error) File "c:\Python\lib\runpy.py", line 109, in _get_module_details import(pkg_name) File "c:\Python\lib\site-packages\spacy__init__.py", line 12, in from .cli.info import info as cli_info File "c:\Python\lib\site-packages\spacy\cli__init__.py", line 6, in from .train import train # noqa: F401 File "c:\Python\lib\site-packages\spacy\cli\train.py", line 18, in from ..gold import GoldCorpus File "strings.pxd", line 23, in init spacy.gold ImportError: DLL load failed: The specified module could not be found.

gitmonox commented 4 years ago

how did u solve?

depsi99 commented 4 years ago

Does anyone have solution to this problem? I am also facing the same issue.

gitmonox commented 4 years ago

I solve in 3.7 by installing this build https://www.microsoft.com/en-us/download/details.aspx?id=52685

depsi99 commented 4 years ago

Thank you so much gitmonox it worked.