You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have build annoy project with vs 2019 native tools command prompt and use AddressSanitizer by below steps and run tests:
pip install numpy h5py
set _ CL _= /fsanitize=address /GS- /wd5072 & set _ LINK _= /InferASanLibs /incremental:no /debug
python setup.py build
python setup.py nosetests
when run test hit below errors, could you please help confirm if the project tests support AddressSanitizer? Thanks a lot!
ERROR: Failure: ImportError (DLL load failed while importing annoylib: The specified module could not be found.)
Traceback (most recent call last):
File "f:\gitp\spotify\annoy.eggs\nose-1.3.7-py3.9.egg\nose\failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "f:\gitp\spotify\annoy.eggs\nose-1.3.7-py3.9.egg\nose\loader.py", line 417, in loadTestsFromName
module = self.importer.importFromPath(
File "f:\gitp\spotify\annoy.eggs\nose-1.3.7-py3.9.egg\nose\importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "f:\gitp\spotify\annoy.eggs\nose-1.3.7-py3.9.egg\nose\importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "C:\Python39\lib\imp.py", line 234, in load_module
return load_source(name, filename, file)
File "C:\Python39\lib\imp.py", line 171, in load_source
module = _load(spec)
File "", line 711, in _load
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in call_with_frames_removed
File "F:\gitP\spotify\annoy\test\on_disk_build_test.py", line 16, in
from annoy import AnnoyIndex
File "F:\gitP\spotify\annoy\annoy_init.py", line 16, in
from .annoylib import Annoy as AnnoyIndex
ImportError: DLL load failed while importing annoylib: The specified module could not be found.
Hi All,
I have build annoy project with vs 2019 native tools command prompt and use AddressSanitizer by below steps and run tests:
when run test hit below errors, could you please help confirm if the project tests support AddressSanitizer? Thanks a lot!
ERROR: Failure: ImportError (DLL load failed while importing annoylib: The specified module could not be found.)
Traceback (most recent call last):
File "f:\gitp\spotify\annoy.eggs\nose-1.3.7-py3.9.egg\nose\failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "f:\gitp\spotify\annoy.eggs\nose-1.3.7-py3.9.egg\nose\loader.py", line 417, in loadTestsFromName
module = self.importer.importFromPath(
File "f:\gitp\spotify\annoy.eggs\nose-1.3.7-py3.9.egg\nose\importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "f:\gitp\spotify\annoy.eggs\nose-1.3.7-py3.9.egg\nose\importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "C:\Python39\lib\imp.py", line 234, in load_module
return load_source(name, filename, file)
File "C:\Python39\lib\imp.py", line 171, in load_source
module = _load(spec)
File "", line 711, in _load
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in call_with_frames_removed
File "F:\gitP\spotify\annoy\test\on_disk_build_test.py", line 16, in
from annoy import AnnoyIndex
File "F:\gitP\spotify\annoy\annoy_init.py", line 16, in
from .annoylib import Annoy as AnnoyIndex
ImportError: DLL load failed while importing annoylib: The specified module could not be found.
======================================================================
The text was updated successfully, but these errors were encountered: