dcslin commented on pull request #786:
URL: https://github.com/apache/singa/pull/786#issuecomment-686871515


   ```
   [10:58 am] dcslin0:singa sc$ PYTHONPATH=build/python/ python3 -c "from singa 
import tensor"
   Traceback (most recent call last):
     File "/Users/sc/git/singa/build/python/singa/singa_wrap.py", line 14, in 
swig_import_helper
       return importlib.import_module(mname)
     File 
"/Users/sc/.pyenv/versions/3.6.6/lib/python3.6/importlib/__init__.py", line 
126, in import_module
       return _bootstrap._gcd_import(name[level:], package, level)
     File "<frozen importlib._bootstrap>", line 994, in _gcd_import
     File "<frozen importlib._bootstrap>", line 971, in _find_and_load
     File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
     File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
     File "<frozen importlib._bootstrap>", line 571, in module_from_spec
     File "<frozen importlib._bootstrap_external>", line 922, in create_module
     File "<frozen importlib._bootstrap>", line 219, in 
_call_with_frames_removed
   ImportError: dlopen(/Users/sc/git/singa/build/python/singa/_singa_wrap.so, 
2): Library not loaded: libdnnl.1.dylib
     Referenced from: /Users/sc/git/singa/build/python/singa/_singa_wrap.so
     Reason: image not found
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "<string>", line 1, in <module>
     File "/Users/sc/git/singa/build/python/singa/__init__.py", line 18, in 
<module>
       from . import singa_wrap
     File "/Users/sc/git/singa/build/python/singa/singa_wrap.py", line 17, in 
<module>
       _singa_wrap = swig_import_helper()
     File "/Users/sc/git/singa/build/python/singa/singa_wrap.py", line 16, in 
swig_import_helper
       return importlib.import_module('_singa_wrap')
     File 
"/Users/sc/.pyenv/versions/3.6.6/lib/python3.6/importlib/__init__.py", line 
126, in import_module
       return _bootstrap._gcd_import(name[level:], package, level)
   ModuleNotFoundError: No module named '_singa_wrap'
   ```
   I think it is because 
`/Users/sc/git/singa/build/python/singa/_singa_wrap.so` could not find 
`libdnnl.1.dylib`


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to