Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install language resources #883

Open
CoolNerd42 opened this issue Jul 16, 2020 · 0 comments
Open

Unable to install language resources #883

CoolNerd42 opened this issue Jul 16, 2020 · 0 comments
Labels

Comments

@CoolNerd42
Copy link

Hello, when I try to download a language resource on a machine running windows 10 with python 3.8.3 installed using either snips-nlu download es or python -m snips_nlu download es results in the following error:

Traceback (most recent call last):
  File "C:\Program Files (x86)\Python38-32\lib\runpy.py", line 185, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "C:\Program Files (x86)\Python38-32\lib\runpy.py", line 144, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "C:\Program Files (x86)\Python38-32\lib\runpy.py", line 111, in _get_module_details
    __import__(pkg_name)
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\snips_nlu\__init__.py", line 4, in <module>
    from snips_nlu.nlu_engine import SnipsNLUEngine
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\snips_nlu\nlu_engine\__init__.py", line 1, in <module>
    from snips_nlu.nlu_engine.nlu_engine import SnipsNLUEngine
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\snips_nlu\nlu_engine\nlu_engine.py", line 29, in <module>
    from snips_nlu.intent_parser import IntentParser
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\snips_nlu\intent_parser\__init__.py", line 3, in <module>
    from .lookup_intent_parser import LookupIntentParser
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\snips_nlu\intent_parser\lookup_intent_parser.py", line 11, in <module>
    from snips_nlu_utils import normalize, hash_str
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\snips_nlu_utils\__init__.py", line 1, in <module>
    from snips_nlu_utils.string import (
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\snips_nlu_utils\string.py", line 4, in <module>
    from snips_nlu_utils.utils import lib, string_pointer, check_ffi_error
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\snips_nlu_utils\utils.py", line 10, in <module>
    lib = cdll.LoadLibrary(str(dylib_path))
  File "C:\Program Files (x86)\Python38-32\lib\ctypes\__init__.py", line 451, in LoadLibrary
    return self._dlltype(name)
  File "C:\Program Files (x86)\Python38-32\lib\ctypes\__init__.py", line 373, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant