Egoistically / ALAuto

Azur Lane bot based on azurlane-auto. Discord: https://discord.gg/vCFxDen.
Do What The F*ck You Want To Public License
106 stars 43 forks source link

ImportError: DLL Load failed #87

Closed Hazekaya closed 4 years ago

Hazekaya commented 4 years ago

Recently got a new device and keep getting this error,

Traceback (most recent call last): File "ALAuto.py", line 5, in from modules.combat import CombatModule File "C:\Users\Sander4000\Downloads\ALAuto-master\ALAuto-master\modules\combat.py", line 4, in from util.utils import Region, Utils File "C:\Users\Sander4000\Downloads\ALAuto-master\ALAuto-master\util\utils.py", line 8, in from scipy import spatial File "C:\Users\Sander4000\AppData\Local\Programs\Python\Python37\lib\site-packages\scipy\spatial__init.py", line 94, in from .kdtree import * File "C:\Users\Sander4000\AppData\Local\Programs\Python\Python37\lib\site-packages\scipy\spatial\kdtree.py", line 8, in import scipy.sparse File "C:\Users\Sander4000\AppData\Local\Programs\Python\Python37\lib\site-packages\scipy\sparse\init__.py", line 229, in from .csr import * File "C:\Users\Sander4000\AppData\Local\Programs\Python\Python37\lib\site-packages\scipy\sparse\csr.py", line 15, in from ._sparsetools import csr_tocsc, csr_tobsr, csr_count_blocks, \ ImportError: DLL load failed: The specified module could not be found.

MetalDevOps commented 4 years ago

you probably did not install the requirements, try to follow the second installation step again, if there is an error, paste the output here.

Hazekaya commented 4 years ago

It says the requirements are already satisfied.

Egoistically commented 4 years ago

Has nothing to do with ALAuto but rather with your computer missing a DLL file, search the error on google.

hjk22 commented 4 years ago

Your scipy installation is broken. Try uninstalling and then reinstalling. It could also be that you're missing some visual c++ redist on your pc. Check these issues and see if you can get to the bottom of this. https://stackoverflow.com/questions/52299542/from-sparsetools-import-csr-tocsc-csr-tobsr-csr-count-blocks-importerror

Hazekaya commented 4 years ago

Yeah it was because i didn't have C++ redist on my pc yet. Thanks guys.

Egoistically commented 4 years ago

Glad it worked!