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

OSError: [WinError 126] 找不到指定的模块。 #80

Open
codesuperman opened this issue Jan 18, 2019 · 0 comments
Open

OSError: [WinError 126] 找不到指定的模块。 #80

codesuperman opened this issue Jan 18, 2019 · 0 comments

Comments

@codesuperman
Copy link

Traceback (most recent call last):
File "D:\tools\python\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "D:\tools\python\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\nlu\rasa_nlu\train.py", line 174, in
num_threads=cmdline_args.num_threads)
File "D:\nlu\rasa_nlu\train.py", line 143, in do_train
trainer = Trainer(cfg, component_builder)
File "D:\nlu\rasa_nlu\model.py", line 146, in init
components.validate_requirements(cfg.component_names)
File "D:\nlu\rasa_nlu\components.py", line 56, in validate_requirements
component_class.required_packages()))
File "D:\nlu\rasa_nlu\components.py", line 39, in find_unavailable_packages
importlib.import_module(package)
File "D:\tools\python\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in call_with_frames_removed
File "D:\tools\python\lib\site-packages\mitie_init
.py", line 1, in
from .mitie import *
File "D:\tools\python\lib\site-packages\mitie\mitie.py", line 36, in
f = ctypes.CDLL(most_recent)
File "D:\tools\python\lib\ctypes_init
.py", line 356, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] 找不到指定的模块。

D:\nlu>python -m rasa_nlu.train -c sample_configs/config_jieba_mitie_sklearn.yml --data data/examples/rasa/demo-rasa_zh.json --path models
Traceback (most recent call last):
File "D:\tools\python\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "D:\tools\python\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\nlu\rasa_nlu\train.py", line 174, in
num_threads=cmdline_args.num_threads)
File "D:\nlu\rasa_nlu\train.py", line 143, in do_train
trainer = Trainer(cfg, component_builder)
File "D:\nlu\rasa_nlu\model.py", line 146, in init
components.validate_requirements(cfg.component_names)
File "D:\nlu\rasa_nlu\components.py", line 56, in validate_requirements
component_class.required_packages()))
File "D:\nlu\rasa_nlu\components.py", line 39, in find_unavailable_packages
importlib.import_module(package)
File "D:\tools\python\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in call_with_frames_removed
File "D:\tools\python\lib\site-packages\mitie_init
.py", line 1, in
from .mitie import *
File "D:\tools\python\lib\site-packages\mitie\mitie.py", line 36, in
f = ctypes.CDLL(most_recent)
File "D:\tools\python\lib\ctypes_init
.py", line 356, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] 找不到指定的模块。

D:\nlu>python -m rasa_nlu.train -c sample_configs/config_jieba_mitie_sklearn.yml --data data/examples/rasa/demo-rasa_zh.json --path models
Traceback (most recent call last):
File "D:\tools\python\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "D:\tools\python\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\nlu\rasa_nlu\train.py", line 174, in
num_threads=cmdline_args.num_threads)
File "D:\nlu\rasa_nlu\train.py", line 143, in do_train
trainer = Trainer(cfg, component_builder)
File "D:\nlu\rasa_nlu\model.py", line 146, in init
components.validate_requirements(cfg.component_names)
File "D:\nlu\rasa_nlu\components.py", line 56, in validate_requirements
component_class.required_packages()))
File "D:\nlu\rasa_nlu\components.py", line 39, in find_unavailable_packages
importlib.import_module(package)
File "D:\tools\python\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in call_with_frames_removed
File "D:\tools\python\lib\site-packages\mitie_init
.py", line 1, in
from .mitie import *
File "D:\tools\python\lib\site-packages\mitie\mitie.py", line 36, in
f = ctypes.CDLL(most_recent)
File "D:\tools\python\lib\ctypes_init
.py", line 356, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] 找不到指定的模块。

D:\nlu>python -m rasa_nlu.train -c sample_configs/config_jieba_mitie_sklearn.yml --data data/examples/rasa/demo-rasa_zh.json --path models
Traceback (most recent call last):
File "D:\tools\python\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "D:\tools\python\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\nlu\rasa_nlu\train.py", line 174, in
num_threads=cmdline_args.num_threads)
File "D:\nlu\rasa_nlu\train.py", line 143, in do_train
trainer = Trainer(cfg, component_builder)
File "D:\nlu\rasa_nlu\model.py", line 146, in init
components.validate_requirements(cfg.component_names)
File "D:\nlu\rasa_nlu\components.py", line 56, in validate_requirements
component_class.required_packages()))
File "D:\nlu\rasa_nlu\components.py", line 39, in find_unavailable_packages
importlib.import_module(package)
File "D:\tools\python\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module

D:\nlu>python -m rasa_nlu.train -c sample_configs/config_jieba_mitie_sklearn.yml --data data/examples/rasa/demo-rasa_zh.json --path models
Traceback (most recent call last):
File "D:\tools\python\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "D:\tools\python\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\nlu\rasa_nlu\train.py", line 174, in
num_threads=cmdline_args.num_threads)
File "D:\nlu\rasa_nlu\train.py", line 143, in do_train
trainer = Trainer(cfg, component_builder)
File "D:\nlu\rasa_nlu\model.py", line 146, in init
components.validate_requirements(cfg.component_names)
File "D:\nlu\rasa_nlu\components.py", line 56, in validate_requirements
component_class.required_packages()))
File "D:\nlu\rasa_nlu\components.py", line 39, in find_unavailable_packages
importlib.import_module(package)
File "D:\tools\python\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in call_with_frames_removed
File "D:\tools\python\lib\site-packages\mitie_init
.py", line 1, in
from .mitie import *
File "D:\tools\python\lib\site-packages\mitie\mitie.py", line 36, in
f = ctypes.CDLL(most_recent)
File "D:\tools\python\lib\ctypes_init
.py", line 356, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] 找不到指定的模块。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant