DataCanvasIO / HyperTS

A Full-Pipeline Automated Time Series (AutoTS) Analysis Toolkit.
https://hyperts.readthedocs.io
Apache License 2.0
260 stars 27 forks source link

ImportError: DLL load failed while importing _xxhash: 内存资源不足,无法处理此命令。 #98

Closed Strom-x closed 1 year ago

Strom-x commented 1 year ago

Traceback (most recent call last) ─────────────────────┐ │ D:\JetBrains\PyCharm │ │ 2022.3.3\plugins\python\helpers\pydev\pydevconsole.py:364 in runcode │ │ │ │ 361 │ │ def runcode(self, code): │ │ 362 │ │ │ try: │ │ 363 │ │ │ │ func = types.FunctionType(code, self.locals) │ │ > 364 │ │ │ │ coro = func() │ │ 365 │ │ │ │ if inspect.iscoroutine(coro): │ │ 366 │ │ │ │ │ loop = asyncio.get_event_loop() │ │ 367 │ │ │ │ │ loop.run_until_complete(coro) │ │ :1 in │ │ │ │ D:\JetBrains\PyCharm │ │ 2022.3.3\plugins\python\helpers\pydev_pydev_bundle\pydev_umd.py:198 in │ │ runfile │ │ │ │ 195 │ │ │ 196 │ try: │ │ 197 │ │ if not is_module: │ │ > 198 │ │ │ pydev_imports.execfile(filename, global_vars, local_vars) │ │ 199 │ │ else: │ │ 200 │ │ │ # treat ':' as a seperator between module and entry point │ │ 201 │ │ │ # if there is no entry point we run we same as with -m sw │ │ │ │ D:\JetBrains\PyCharm │ │ 2022.3.3\plugins\python\helpers\pydev_pydev_imps_pydev_execfile.py:18 in │ │ execfile │ │ │ │ 15 │ │ stream.close() │ │ 16 │ │ │ 17 │ #execute the script (note: it's important to compile first to have │ │ > 18 │ exec(compile(contents+"\n", file, 'exec'), glob, loc) │ │ │ │ C:\Users\19155\Desktop\Chinese-Frame-Semantic-Parsing-main\run_rc.py:18 in │ │ │ │ │ │ 15 import transformers │ │ 16 from transformers import BertConfig, BertTokenizerFast, get_scheduler │ │ 17 import json │ │ > 18 import evaluate │ │ 19 │ │ 20 │ │ 21 logger = logging.getLogger(name) │ │ │ │ D:\JetBrains\PyCharm │ │ 2022.3.3\plugins\python\helpers\pydev_pydev_bundle\pydev_import_hook.py:21 │ │ in do_import │ │ │ │ 18 │ │ if name in self._modules_to_patch: │ │ 19 │ │ │ activate_func = self._modules_to_patch[name] │ │ 20 │ │ │ │ > 21 │ │ module = self._system_import(name, *args, kwargs) │ │ 22 │ │ try: │ │ 23 │ │ │ if activate_func and not self.inside_activation: │ │ 24 │ │ │ │ self.inside_activation = True │ │ │ │ C:\Users\19155.conda\envs\Chinese-Frame\lib\site-packages\evaluate_init │ │ _.py:29 in │ │ │ │ 26 │ │ 27 del version │ │ 28 │ │ > 29 from .evaluation_suite import EvaluationSuite │ │ 30 from .evaluator import ( │ │ 31 │ AutomaticSpeechRecognitionEvaluator, │ │ 32 │ Evaluator, │ │ │ │ D:\JetBrains\PyCharm │ │ 2022.3.3\plugins\python\helpers\pydev_pydev_bundle\pydev_import_hook.py:21 │ │ in do_import │ │ │ │ 18 │ │ if name in self._modules_to_patch: │ │ 19 │ │ │ activate_func = self._modules_to_patch[name] │ │ 20 │ │ │ │ > 21 │ │ module = self._system_import(name, *args, *kwargs) │ │ 22 │ │ try: │ │ 23 │ │ │ if activate_func and not self.inside_activation: │ │ 24 │ │ │ │ self.inside_activation = True │ │ │ │ C:\Users\19155.conda\envs\Chinese-Frame\lib\site-packages\evaluate\evaluat │ │ ion_suite__init__.py:7 in │ │ │ │ 4 from pathlib import Path │ │ 5 from typing import Callable, Dict, Optional, Union │ │ 6 │ │ > 7 from datasets import Dataset, DownloadMode, load_dataset │ │ 8 from datasets.utils.version import Version │ │ 9 │ │ 10 from ..evaluator import evaluator │ │ │ │ D:\JetBrains\PyCharm │ │ 2022.3.3\plugins\python\helpers\pydev_pydev_bundle\pydev_import_hook.py:21 │ │ in do_import │ │ │ │ 18 │ │ if name in self._modules_to_patch: │ │ 19 │ │ │ activate_func = self._modules_to_patch[name] │ │ 20 │ │ │ │ > 21 │ │ module = self._system_import(name, args, kwargs) │ │ 22 │ │ try: │ │ 23 │ │ │ if activate_func and not self.inside_activation: │ │ 24 │ │ │ │ self.inside_activation = True │ │ │ │ C:\Users\19155.conda\envs\Chinese-Frame\lib\site-packages\datasets_init │ │ _.py:43 in │ │ │ │ 40 del pyarrow │ │ 41 del version │ │ 42 │ │ > 43 from .arrow_dataset import Dataset │ │ 44 from .arrow_reader import ReadInstruction │ │ 45 from .builder import ArrowBasedBuilder, BeamBasedBuilder, BuilderConfi │ │ 46 from .combine import concatenate_datasets, interleave_datasets │ │ │ │ D:\JetBrains\PyCharm │ │ 2022.3.3\plugins\python\helpers\pydev_pydev_bundle\pydev_import_hook.py:21 │ │ in do_import │ │ │ │ 18 │ │ if name in self._modules_to_patch: │ │ 19 │ │ │ activate_func = self._modules_to_patch[name] │ │ 20 │ │ │ │ > 21 │ │ module = self._system_import(name, *args, kwargs) │ │ 22 │ │ try: │ │ 23 │ │ │ if activate_func and not self.inside_activation: │ │ 24 │ │ │ │ self.inside_activation = True │ │ │ │ C:\Users\19155.conda\envs\Chinese-Frame\lib\site-packages\datasets\arrow_d │ │ ataset.py:78 in │ │ │ │ 75 │ require_decoding, │ │ 76 ) │ │ 77 from .filesystems import extract_path_from_uri, is_remote_filesystem │ │ > 78 from .fingerprint import ( │ │ 79 │ fingerprint_transform, │ │ 80 │ format_kwargs_for_fingerprint, │ │ 81 │ format_transform_for_fingerprint, │ │ │ │ D:\JetBrains\PyCharm │ │ 2022.3.3\plugins\python\helpers\pydev_pydev_bundle\pydev_import_hook.py:21 │ │ in do_import │ │ │ │ 18 │ │ if name in self._modules_to_patch: │ │ 19 │ │ │ activate_func = self._modules_to_patch[name] │ │ 20 │ │ │ │ > 21 │ │ module = self._system_import(name, *args, *kwargs) │ │ 22 │ │ try: │ │ 23 │ │ │ if activate_func and not self.inside_activation: │ │ 24 │ │ │ │ self.inside_activation = True │ │ │ │ C:\Users\19155.conda\envs\Chinese-Frame\lib\site-packages\datasets\fingerp │ │ rint.py:14 in │ │ │ │ 11 │ │ 12 import numpy as np │ │ 13 import pyarrow as pa │ │ > 14 import xxhash │ │ 15 │ │ 16 from .info import DatasetInfo │ │ 17 from .naming import INVALID_WINDOWS_CHARACTERS_IN_PATH │ │ │ │ D:\JetBrains\PyCharm │ │ 2022.3.3\plugins\python\helpers\pydev_pydev_bundle\pydev_import_hook.py:21 │ │ in do_import │ │ │ │ 18 │ │ if name in self._modules_to_patch: │ │ 19 │ │ │ activate_func = self._modules_to_patch[name] │ │ 20 │ │ │ │ > 21 │ │ module = self._system_import(name, args, kwargs) │ │ 22 │ │ try: │ │ 23 │ │ │ if activate_func and not self.inside_activation: │ │ 24 │ │ │ │ self.inside_activation = True │ │ │ │ C:\Users\19155.conda\envs\Chinese-Frame\lib\site-packages\xxhash__init__. │ │ py:1 in │ │ │ │ > 1 from ._xxhash import ( │ │ 2 │ xxh32, │ │ 3 │ xxh32_digest, │ │ 4 │ xxh32_intdigest, │ │ │ │ D:\JetBrains\PyCharm │ │ 2022.3.3\plugins\python\helpers\pydev_pydev_bundle\pydev_import_hook.py:21 │ │ in do_import │ │ │ │ 18 │ │ if name in self._modules_to_patch: │ │ 19 │ │ │ activate_func = self._modules_to_patch[name] │ │ 20 │ │ │ │ > 21 │ │ module = self._system_import(name, *args, **kwargs) │ │ 22 │ │ try: │ │ 23 │ │ │ if activate_func and not self.inside_activation: │ │ 24 │ │ │ │ self.inside_activation = True │ └─────────────────────────────────────────────────────────────────────────────┘ ImportError: DLL load failed while importing _xxhash: 内存资源不足,无法处理此命令。