AzurLaneAutoScript
AzurLaneAutoScript copied to clipboard
ImportError: DLL load failed: 系统无法访问此文件。
在提问之前...
- [X] 我已经搜索了现有的 issues
- [X] 我在提问题之前至少花费了 5 分钟来思考和准备
- [X] 我已经阅读了 Wiki 中的 常见问题(FAQ)
- [X] 我正在使用最新版的 Alas
描述你的问题
大佬大佬,我的电脑重启后,再运Alas 就出现以下问题。可能是我的操作不得当,能麻烦指导我一下。
如何复现
- 前往 '...'
- 点击 '....'
- 滑动到 '....'
- 出现问题
预期行为
No response
相关 Logs
INFO 18:47:04.128 │ Start scheduler loop: alas2
INFO 18:47:04.131 │ [Server] cn
INFO 18:47:04.140 │ Bind task {'Alas', 'General'}
INFO 18:47:04.143 │ Pending tasks: ['Research', 'Commission', 'Tactical',
'Dorm', 'Meowfficer', 'Guild', 'SupplyPack', 'Reward', 'MetaReward',
'BattlePass', 'DataKey', 'OpsiAshAssist']
INFO 18:47:04.145 │ [Task] Research (Enable, 2020-01-01 00:00:00)
INFO 18:47:04.148 │ Bind task {'Alas', 'Research', 'General'}
ERROR 18:47:05.009 │ ImportError: DLL load failed: 系统无法访问此文件。
╭────────────────── Traceback (most recent call last) ───────────────────╮
│ │
│ D:\碧蓝航线\AlasApp_0.3.5\AzurLaneAutoScript\module\webui\process_mana │
│ ger.py:130 in run_process │
│ │
│ 128 │ │ │ │ if e is not None: │
│ 129 │ │ │ │ │ AzurLaneAutoScript.stop_event = e │
│ ❱ 130 │ │ │ │ AzurLaneAutoScript(config_name=config_name).loop │
│ 131 │ │ │ elif func == "Daemon": │
│ 132 │ │ │ │ from module.daemon.daemon import AzurLaneDaemon │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ AzurLaneAutoScript = <class 'alas.AzurLaneAutoScript'> │ │
│ │ AzurLaneConfig = <class 'module.config.config.AzurLaneConfig'> │ │
│ │ config_name = 'alas2' │ │
│ │ e = ImportError('DLL load failed: │ │
│ │ 系统无法访问此文件。') │ │
│ │ func = 'Alas' │ │
│ │ q = <AutoProxy[Queue] object, typeid 'Queue' at │ │
│ │ 0x28f53571608> │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ D:\碧蓝航线\AlasApp_0.3.5\AzurLaneAutoScript\alas.py:397 in loop │
│ │
│ 395 │ │ │ │ │ logger.info(f"Alas [{self.config_name}] exit │
│ 396 │ │ │ │ │ break │
│ ❱ 397 │ │ │ task = self.get_next_task() │
│ 398 │ │ │ │
│ 399 │ │ │ # Skip first restart │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ failure_record = {} │ │
│ │ is_first = True │ │
│ │ self = <alas.AzurLaneAutoScript object at │ │
│ │ 0x0000028F534E0CC8> │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ D:\碧蓝航线\AlasApp_0.3.5\AzurLaneAutoScript\alas.py:357 in │
│ get_next_task │
│ │
│ 355 │ │ from module.base.resource import release_resources │
│ 356 │ │ if self.config.task.command != 'Alas': │
│ ❱ 357 │ │ │ release_resources(next_task=task.command) │
│ 358 │ │ │
│ 359 │ │ if task.next_run > datetime.now(): │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ release_resources = <function release_resources at │ │
│ │ 0x0000028F5441F558> │ │
│ │ self = <alas.AzurLaneAutoScript object at │ │
│ │ 0x0000028F534E0CC8> │ │
│ │ task = Research (Enable, 2020-01-01 00:00:00) │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ D:\碧蓝航线\AlasApp_0.3.5\AzurLaneAutoScript\module\base\resource.py:1 │
│ 27 in release_resources │
│ │
│ 125 │ │
│ 126 │ # Release cached images for map detection │
│ ❱ 127 │ from module.map_detection.utils_assets import ASSETS │
│ 128 │ attr_list = [ │
│ 129 │ │ 'ui_mask', │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ model = 'tw' │ │
│ │ models = ['cnocr', 'jp', 'tw'] │ │
│ │ next_task = 'Research' │ │
│ │ OCR_MODEL = <module.ocr.models.OcrModel object at │ │
│ │ 0x0000028F72EC23C8> │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ D:\碧蓝航线\AlasApp_0.3.5\AzurLaneAutoScript\module\map_detection\util │
│ s_assets.py:5 in <module> │
│ │
│ 3 │
│ 4 from module.base.decorator import cached_property │
│ ❱ 5 from module.base.mask import Mask │
│ 6 from module.base.utils import crop │
│ 7 │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ __builtins__ = { │ │
│ │ │ '__name__': 'builtins', │ │
│ │ │ '__doc__': 'Built-in functions, exceptions, │ │
│ │ and other objects.\n\nNoteworthy: None is the │ │
│ │ `nil'+46, │ │
│ │ │ '__package__': '', │ │
│ │ │ '__loader__': <class │ │
│ │ '_frozen_importlib.BuiltinImporter'>, │ │
│ │ │ '__spec__': ModuleSpec(name='builtins', │ │
│ │ loader=<class │ │
│ │ '_frozen_importlib.BuiltinImporter'>), │ │
│ │ │ '__build_class__': <built-in function │ │
│ │ __build_class__>, │ │
│ │ │ '__import__': <built-in function │ │
│ │ __import__>, │ │
│ │ │ 'abs': <built-in function abs>, │ │
│ │ │ 'all': <built-in function all>, │ │
│ │ │ 'any': <built-in function any>, │ │
│ │ │ ... +145 │ │
│ │ } │ │
│ │ __cached__ = 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScrip… │ │
│ │ __doc__ = None │ │
│ │ __file__ = 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScrip… │ │
│ │ __loader__ = <_frozen_importlib_external.SourceFileLoader │ │
│ │ object at 0x0000028F72EC2388> │ │
│ │ __name__ = 'module.map_detection.utils_assets' │ │
│ │ __package__ = 'module.map_detection' │ │
│ │ __spec__ = ModuleSpec(name='module.map_detection.utils_ass… │ │
│ │ loader=<_frozen_importlib_external.SourceFileLo… │ │
│ │ object at 0x0000028F72EC2388>, │ │
│ │ origin='D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAu… │ │
│ │ cached_property = <class 'module.base.decorator.cached_property'> │ │
│ │ cv2 = <module 'cv2.cv2' from │ │
│ │ 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScrip… │ │
│ │ np = <module 'numpy' from │ │
│ │ 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScrip… │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ D:\碧蓝航线\AlasApp_0.3.5\AzurLaneAutoScript\module\base\mask.py:4 in │
│ <module> │
│ │
│ 2 import numpy as np │
│ 3 │
│ ❱ 4 from module.base.template import Template │
│ 5 from module.base.utils import image_channel, load_image, rgb2gray │
│ 6 │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ __builtins__ = { │ │
│ │ │ '__name__': 'builtins', │ │
│ │ │ '__doc__': 'Built-in functions, exceptions, and │ │
│ │ other objects.\n\nNoteworthy: None is the `nil'+46, │ │
│ │ │ '__package__': '', │ │
│ │ │ '__loader__': <class │ │
│ │ '_frozen_importlib.BuiltinImporter'>, │ │
│ │ │ '__spec__': ModuleSpec(name='builtins', │ │
│ │ loader=<class │ │
│ │ '_frozen_importlib.BuiltinImporter'>), │ │
│ │ │ '__build_class__': <built-in function │ │
│ │ __build_class__>, │ │
│ │ │ '__import__': <built-in function __import__>, │ │
│ │ │ 'abs': <built-in function abs>, │ │
│ │ │ 'all': <built-in function all>, │ │
│ │ │ 'any': <built-in function any>, │ │
│ │ │ ... +145 │ │
│ │ } │ │
│ │ __cached__ = 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScript\\… │ │
│ │ __doc__ = None │ │
│ │ __file__ = 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScript\\… │ │
│ │ __loader__ = <_frozen_importlib_external.SourceFileLoader object │ │
│ │ at 0x0000028F13177588> │ │
│ │ __name__ = 'module.base.mask' │ │
│ │ __package__ = 'module.base' │ │
│ │ __spec__ = ModuleSpec(name='module.base.mask', │ │
│ │ loader=<_frozen_importlib_external.SourceFileLoader │ │
│ │ object at 0x0000028F13177588>, │ │
│ │ origin='D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoS… │ │
│ │ cv2 = <module 'cv2.cv2' from │ │
│ │ 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScript\\… │ │
│ │ np = <module 'numpy' from │ │
│ │ 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScript\\… │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ D:\碧蓝航线\AlasApp_0.3.5\AzurLaneAutoScript\module\base\template.py:9 │
│ in <module> │
│ │
│ 7 from module.base.resource import Resource │
│ 8 from module.base.utils import * │
│ ❱ 9 from module.map_detection.utils import Points │
│ 10 │
│ 11 │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ __builtins__ = { │ │
│ │ │ '__name__': 'builtins', │ │
│ │ │ '__doc__': 'Built-in │ │
│ │ functions, exceptions, and other │ │
│ │ objects.\n\nNoteworthy: None is │ │
│ │ the `nil'+46, │ │
│ │ │ '__package__': '', │ │
│ │ │ '__loader__': <class │ │
│ │ '_frozen_importlib.BuiltinImport… │ │
│ │ │ '__spec__': │ │
│ │ ModuleSpec(name='builtins', │ │
│ │ loader=<class │ │
│ │ '_frozen_importlib.BuiltinImport… │ │
│ │ │ '__build_class__': <built-in │ │
│ │ function __build_class__>, │ │
│ │ │ '__import__': <built-in │ │
│ │ function __import__>, │ │
│ │ │ 'abs': <built-in function │ │
│ │ abs>, │ │
│ │ │ 'all': <built-in function │ │
│ │ all>, │ │
│ │ │ 'any': <built-in function │ │
│ │ any>, │ │
│ │ │ ... +145 │ │
│ │ } │ │
│ │ __cached__ = 'D:\\碧蓝航线\\AlasApp_0.3.5\\Az… │ │
│ │ __doc__ = None │ │
│ │ __file__ = 'D:\\碧蓝航线\\AlasApp_0.3.5\\Az… │ │
│ │ __loader__ = <_frozen_importlib_external.Sour… │ │
│ │ object at 0x0000028F13177B48> │ │
│ │ __name__ = 'module.base.template' │ │
│ │ __package__ = 'module.base' │ │
│ │ __spec__ = ModuleSpec(name='module.base.tem… │ │
│ │ loader=<_frozen_importlib_extern… │ │
│ │ object at 0x0000028F13177B48>, │ │
│ │ origin='D:\\碧蓝航线\\AlasApp_0.… │ │
│ │ area_cross_area = <function area_cross_area at │ │
│ │ 0x0000028F72A99288> │ │
│ │ area_in_area = <function area_in_area at │ │
│ │ 0x0000028F72A991F8> │ │
│ │ area_limit = <function area_limit at │ │
│ │ 0x0000028F729B0F78> │ │
│ │ area_offset = <function area_offset at │ │
│ │ 0x0000028F729B0DC8> │ │
│ │ area_pad = <function area_pad at │ │
│ │ 0x0000028F729B0E58> │ │
│ │ area_size = <function area_size at │ │
│ │ 0x0000028F72A99048> │ │
│ │ Button = <class │ │
│ │ 'module.base.button.Button'> │ │
│ │ cached_property = <class │ │
│ │ 'module.base.decorator.cached_pr… │ │
│ │ color_bar_percentage = <function color_bar_percentage at │ │
│ │ 0x0000028F72A99F78> │ │
│ │ color_mapping = <function color_mapping at │ │
│ │ 0x0000028F72A99E58> │ │
│ │ color_similar = <function color_similar at │ │
│ │ 0x0000028F72A99B88> │ │
│ │ color_similar_1d = <function color_similar_1d at │ │
│ │ 0x0000028F72A99C18> │ │
│ │ color_similarity = <function color_similarity at │ │
│ │ 0x0000028F72A99AF8> │ │
│ │ color_similarity_2d = <function color_similarity_2d at │ │
│ │ 0x0000028F72A99CA8> │ │
│ │ crop = <function crop at │ │
│ │ 0x0000028F72A99678> │ │
│ │ cv2 = <module 'cv2.cv2' from │ │
│ │ 'D:\\碧蓝航线\\AlasApp_0.3.5\\Az… │ │
│ │ ensure_int = <function ensure_int at │ │
│ │ 0x0000028F729B0D38> │ │
│ │ ensure_time = <function ensure_time at │ │
│ │ 0x0000028F729B0AF8> │ │
│ │ extract_letters = <function extract_letters at │ │
│ │ 0x0000028F72A99D38> │ │
│ │ extract_white_letters = <function extract_white_letters │ │
│ │ at 0x0000028F72A99DC8> │ │
│ │ float2str = <function float2str at │ │
│ │ 0x0000028F72A99318> │ │
│ │ get_bbox = <function get_bbox at │ │
│ │ 0x0000028F72A99A68> │ │
│ │ get_color = <function get_color at │ │
│ │ 0x0000028F72A999D8> │ │
│ │ Image = <module 'PIL.Image' from │ │
│ │ 'D:\\碧蓝航线\\AlasApp_0.3.5\\Az… │ │
│ │ image_channel = <function image_channel at │ │
│ │ 0x0000028F72A99798> │ │
│ │ image_size = <function image_size at │ │
│ │ 0x0000028F72A99828> │ │
│ │ imageio = <module 'imageio' from │ │
│ │ 'D:\\碧蓝航线\\AlasApp_0.3.5\\Az… │ │
│ │ limit_in = <function limit_in at │ │
│ │ 0x0000028F729B0EE8> │ │
│ │ load_image = <function load_image at │ │
│ │ 0x0000028F72A99558> │ │
│ │ location2node = <function location2node at │ │
│ │ 0x0000028F72A994C8> │ │
│ │ node2location = <function node2location at │ │
│ │ 0x0000028F72A99438> │ │
│ │ np = <module 'numpy' from │ │
│ │ 'D:\\碧蓝航线\\AlasApp_0.3.5\\Az… │ │
│ │ os = <module 'os' from │ │
│ │ 'D:\\碧蓝航线\\AlasApp_0.3.5\\Az… │ │
│ │ point2str = <function point2str at │ │
│ │ 0x0000028F72A993A8> │ │
│ │ point_in_area = <function point_in_area at │ │
│ │ 0x0000028F72A99168> │ │
│ │ point_limit = <function point_limit at │ │
│ │ 0x0000028F72A990D8> │ │
│ │ random_line_segments = <function random_line_segments at │ │
│ │ 0x0000028F729B0CA8> │ │
│ │ random_normal_distribution_int = <function │ │
│ │ random_normal_distribution_int at │ │
│ │ 0x0000028F72992318> │ │
│ │ random_rectangle_point = <function random_rectangle_point │ │
│ │ at 0x0000028F729B0B88> │ │
│ │ random_rectangle_vector = <function random_rectangle_vector │ │
│ │ at 0x0000028F729B0A68> │ │
│ │ random_rectangle_vector_opted = <function │ │
│ │ random_rectangle_vector_opted at │ │
│ │ 0x0000028F729B0C18> │ │
│ │ red_overlay_transparency = <function │ │
│ │ red_overlay_transparency at │ │
│ │ 0x0000028F72A99EE8> │ │
│ │ resize = <function resize at │ │
│ │ 0x0000028F72A99708> │ │
│ │ Resource = <class │ │
│ │ 'module.base.resource.Resource'> │ │
│ │ rgb2gray = <function rgb2gray at │ │
│ │ 0x0000028F72A998B8> │ │
│ │ rgb2hsv = <function rgb2hsv at │ │
│ │ 0x0000028F72A99948> │ │
│ │ save_image = <function save_image at │ │
│ │ 0x0000028F72A995E8> │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ D:\碧蓝航线\AlasApp_0.3.5\AzurLaneAutoScript\module\map_detection\util │
│ s.py:2 in <module> │
│ │
│ 1 import numpy as np │
│ ❱ 2 from scipy import optimize │
│ 3 │
│ 4 from module.base.utils import area_pad │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ __builtins__ = { │ │
│ │ │ '__name__': 'builtins', │ │
│ │ │ '__doc__': 'Built-in functions, exceptions, and │ │
│ │ other objects.\n\nNoteworthy: None is the `nil'+46, │ │
│ │ │ '__package__': '', │ │
│ │ │ '__loader__': <class │ │
│ │ '_frozen_importlib.BuiltinImporter'>, │ │
│ │ │ '__spec__': ModuleSpec(name='builtins', │ │
│ │ loader=<class │ │
│ │ '_frozen_importlib.BuiltinImporter'>), │ │
│ │ │ '__build_class__': <built-in function │ │
│ │ __build_class__>, │ │
│ │ │ '__import__': <built-in function __import__>, │ │
│ │ │ 'abs': <built-in function abs>, │ │
│ │ │ 'all': <built-in function all>, │ │
│ │ │ 'any': <built-in function any>, │ │
│ │ │ ... +145 │ │
│ │ } │ │
│ │ __cached__ = 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScript\\… │ │
│ │ __doc__ = None │ │
│ │ __file__ = 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScript\\… │ │
│ │ __loader__ = <_frozen_importlib_external.SourceFileLoader object │ │
│ │ at 0x0000028F1317ABC8> │ │
│ │ __name__ = 'module.map_detection.utils' │ │
│ │ __package__ = 'module.map_detection' │ │
│ │ __spec__ = ModuleSpec(name='module.map_detection.utils', │ │
│ │ loader=<_frozen_importlib_external.SourceFileLoader │ │
│ │ object at 0x0000028F1317ABC8>, │ │
│ │ origin='D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoS… │ │
│ │ np = <module 'numpy' from │ │
│ │ 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScript\\… │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ D:\碧蓝航线\AlasApp_0.3.5\AzurLaneAutoScript\toolkit\lib\site-packages │
│ \scipy\optimize\__init__.py:389 in <module> │
│ │
│ 387 from __future__ import division, print_function, absolute_import │
│ 388 │
│ ❱ 389 from .optimize import * │
│ 390 from ._minimize import * │
│ 391 from ._root import * │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ __builtins__ = { │ │
│ │ │ '__name__': 'builtins', │ │
│ │ │ '__doc__': 'Built-in functions, exceptions, │ │
│ │ and other objects.\n\nNoteworthy: None is the │ │
│ │ `nil'+46, │ │
│ │ │ '__package__': '', │ │
│ │ │ '__loader__': <class │ │
│ │ '_frozen_importlib.BuiltinImporter'>, │ │
│ │ │ '__spec__': ModuleSpec(name='builtins', │ │
│ │ loader=<class │ │
│ │ '_frozen_importlib.BuiltinImporter'>), │ │
│ │ │ '__build_class__': <built-in function │ │
│ │ __build_class__>, │ │
│ │ │ '__import__': <built-in function │ │
│ │ __import__>, │ │
│ │ │ 'abs': <built-in function abs>, │ │
│ │ │ 'all': <built-in function all>, │ │
│ │ │ 'any': <built-in function any>, │ │
│ │ │ ... +145 │ │
│ │ } │ │
│ │ __cached__ = 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScrip… │ │
│ │ __doc__ = '\n============================================… │ │
│ │ and Root Fin'+11017 │ │
│ │ __file__ = 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScrip… │ │
│ │ __loader__ = <_frozen_importlib_external.SourceFileLoader │ │
│ │ object at 0x0000028F13188B08> │ │
│ │ __name__ = 'scipy.optimize' │ │
│ │ __package__ = 'scipy.optimize' │ │
│ │ __path__ = [ │ │
│ │ │ │ │
│ │ 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScrip… │ │
│ │ ] │ │
│ │ __spec__ = ModuleSpec(name='scipy.optimize', │ │
│ │ loader=<_frozen_importlib_external.SourceFileLo… │ │
│ │ object at 0x0000028F13188B08>, │ │
│ │ origin='D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAu… │ │
│ │ submodule_search_locations=['D:\\碧蓝航线\\Alas… │ │
│ │ absolute_import = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, │ │
│ │ 'alpha', 0), 16384) │ │
│ │ division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, │ │
│ │ 'alpha', 0), 8192) │ │
│ │ print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, │ │
│ │ 'alpha', 0), 65536) │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ D:\碧蓝航线\AlasApp_0.3.5\AzurLaneAutoScript\toolkit\lib\site-packages │
│ \scipy\optimize\optimize.py:37 in <module> │
│ │
│ 35 │ │ │ │ asarray, sqrt, Inf, asfarray, isinf) │
│ 36 import numpy as np │
│ ❱ 37 from .linesearch import (line_search_wolfe1, line_search_wolfe2 │
│ 38 │ │ │ │ │ │ line_search_wolfe2 as line_search, │
│ 39 │ │ │ │ │ │ LineSearchWarning) │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ __all__ = [ │ │
│ │ │ 'fmin', │ │
│ │ │ 'fmin_powell', │ │
│ │ │ 'fmin_bfgs', │ │
│ │ │ 'fmin_ncg', │ │
│ │ │ 'fmin_cg', │ │
│ │ │ 'fminbound', │ │
│ │ │ 'brent', │ │
│ │ │ 'golden', │ │
│ │ │ 'bracket', │ │
│ │ │ 'rosen', │ │
│ │ │ ... +10 │ │
│ │ ] │ │
│ │ __builtins__ = { │ │
│ │ │ '__name__': 'builtins', │ │
│ │ │ '__doc__': 'Built-in functions, exceptions, │ │
│ │ and other objects.\n\nNoteworthy: None is the │ │
│ │ `nil'+46, │ │
│ │ │ '__package__': '', │ │
│ │ │ '__loader__': <class │ │
│ │ '_frozen_importlib.BuiltinImporter'>, │ │
│ │ │ '__spec__': ModuleSpec(name='builtins', │ │
│ │ loader=<class │ │
│ │ '_frozen_importlib.BuiltinImporter'>), │ │
│ │ │ '__build_class__': <built-in function │ │
│ │ __build_class__>, │ │
│ │ │ '__import__': <built-in function │ │
│ │ __import__>, │ │
│ │ │ 'abs': <built-in function abs>, │ │
│ │ │ 'all': <built-in function all>, │ │
│ │ │ 'any': <built-in function any>, │ │
│ │ │ ... +145 │ │
│ │ } │ │
│ │ __cached__ = 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScrip… │ │
│ │ __doc__ = None │ │
│ │ __docformat__ = 'restructuredtext en' │ │
│ │ __file__ = 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScrip… │ │
│ │ __loader__ = <_frozen_importlib_external.SourceFileLoader │ │
│ │ object at 0x0000028F1318DBC8> │ │
│ │ __name__ = 'scipy.optimize.optimize' │ │
│ │ __package__ = 'scipy.optimize' │ │
│ │ __spec__ = ModuleSpec(name='scipy.optimize.optimize', │ │
│ │ loader=<_frozen_importlib_external.SourceFileLo… │ │
│ │ object at 0x0000028F1318DBC8>, │ │
│ │ origin='D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAu… │ │
│ │ absolute_import = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, │ │
│ │ 'alpha', 0), 16384) │ │
│ │ argmin = <function argmin at 0x0000028F7258D8B8> │ │
│ │ asarray = <function asarray at 0x0000028F7257AA68> │ │
│ │ asfarray = <function asfarray at 0x0000028F726144C8> │ │
│ │ atleast_1d = <function atleast_1d at 0x0000028F725DE558> │ │
│ │ callable = <function callable at 0x0000028F121A8A68> │ │
│ │ division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, │ │
│ │ 'alpha', 0), 8192) │ │
│ │ eye = <function eye at 0x0000028F726369D8> │ │
│ │ Inf = inf │ │
│ │ isinf = <ufunc 'isinf'> │ │
│ │ mgrid = <numpy.lib.index_tricks.MGridClass object at │ │
│ │ 0x0000028F7261D908> │ │
│ │ np = <module 'numpy' from │ │
│ │ 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScrip… │ │
│ │ numpy = <module 'numpy' from │ │
│ │ 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScrip… │ │
│ │ print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, │ │
│ │ 'alpha', 0), 65536) │ │
│ │ shape = <function shape at 0x0000028F7258E1F8> │ │
│ │ sqrt = <ufunc 'sqrt'> │ │
│ │ squeeze = <function squeeze at 0x0000028F7258DC18> │ │
│ │ sys = <module 'sys' (built-in)> │ │
│ │ warnings = <module 'warnings' from │ │
│ │ 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScrip… │ │
│ │ xrange = <class 'range'> │ │
│ │ zeros = <built-in function zeros> │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ D:\碧蓝航线\AlasApp_0.3.5\AzurLaneAutoScript\toolkit\lib\site-packages │
│ \scipy\optimize\linesearch.py:18 in <module> │
│ │
│ 16 from warnings import warn │
│ 17 │
│ ❱ 18 from scipy.optimize import minpack2 │
│ 19 import numpy as np │
│ 20 from scipy._lib.six import xrange │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ __builtins__ = { │ │
│ │ │ '__name__': 'builtins', │ │
│ │ │ '__doc__': 'Built-in functions, exceptions, │ │
│ │ and other objects.\n\nNoteworthy: None is the │ │
│ │ `nil'+46, │ │
│ │ │ '__package__': '', │ │
│ │ │ '__loader__': <class │ │
│ │ '_frozen_importlib.BuiltinImporter'>, │ │
│ │ │ '__spec__': ModuleSpec(name='builtins', │ │
│ │ loader=<class │ │
│ │ '_frozen_importlib.BuiltinImporter'>), │ │
│ │ │ '__build_class__': <built-in function │ │
│ │ __build_class__>, │ │
│ │ │ '__import__': <built-in function │ │
│ │ __import__>, │ │
│ │ │ 'abs': <built-in function abs>, │ │
│ │ │ 'all': <built-in function all>, │ │
│ │ │ 'any': <built-in function any>, │ │
│ │ │ ... +145 │ │
│ │ } │ │
│ │ __cached__ = 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScrip… │ │
│ │ __doc__ = '\nFunctions\n---------\n.. autosummary::\n │ │
│ │ :toctree: generated/\n\n line_search_a'+103 │ │
│ │ __file__ = 'D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAutoScrip… │ │
│ │ __loader__ = <_frozen_importlib_external.SourceFileLoader │ │
│ │ object at 0x0000028F131A1A08> │ │
│ │ __name__ = 'scipy.optimize.linesearch' │ │
│ │ __package__ = 'scipy.optimize' │ │
│ │ __spec__ = ModuleSpec(name='scipy.optimize.linesearch', │ │
│ │ loader=<_frozen_importlib_external.SourceFileLo… │ │
│ │ object at 0x0000028F131A1A08>, │ │
│ │ origin='D:\\碧蓝航线\\AlasApp_0.3.5\\AzurLaneAu… │ │
│ │ absolute_import = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, │ │
│ │ 'alpha', 0), 16384) │ │
│ │ division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, │ │
│ │ 'alpha', 0), 8192) │ │
│ │ print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, │ │
│ │ 'alpha', 0), 65536) │ │
│ │ warn = <built-in function warn> │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
╰────────────────────────────────────────────────────────────────────────╯
ImportError: DLL load failed: 系统无法访问此文件。
截图
[](url
)
还有别的吗?
No response
你试试重新安装 Alas 吧,参考 从旧的-alas-app-客户端迁移 一节 迁移配置文件
我也遇到相同的问题,但是我从一开始安装就出现这个问题。然后我尝试把python,git都配置成自己的路径,且符合版本要求,然而问题依旧,仍未能解决。
#497