Skip to content

Error:image not found #8

@zhuzihao-hz

Description

@zhuzihao-hz

Hi!
Thanks for showing your code. I'm trying to run the StructureForests.py, but I have received this:
Traceback (most recent call last):
File "/Users/zhuzihao/anaconda3/python.app/Contents/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2963, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
runfile('/Users/zhuzihao/Desktop/StructuredForests/StructuredForests.py', wdir='/Users/zhuzihao/Desktop/StructuredForests')
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/Users/zhuzihao/Desktop/StructuredForests/StructuredForests.py", line 5, in
import tables
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "/Users/zhuzihao/anaconda3/python.app/Contents/lib/python3.6/site-packages/tables/init.py", line 131, in
from .file import File, open_file, copy_file
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "/Users/zhuzihao/anaconda3/python.app/Contents/lib/python3.6/site-packages/tables/file.py", line 32, in
import numexpr
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "/Users/zhuzihao/anaconda3/python.app/Contents/lib/python3.6/site-packages/numexpr/init.py", line 38, in
from numexpr.expressions import E
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
File "/Users/zhuzihao/anaconda3/python.app/Contents/lib/python3.6/site-packages/numexpr/expressions.py", line 49, in
from numexpr import interpreter
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
ImportError: dlopen(/Users/zhuzihao/anaconda3/python.app/Contents/lib/python3.6/site-packages/numexpr/interpreter.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libmkl_rt.dylib
Referenced from: /Users/zhuzihao/anaconda3/python.app/Contents/lib/python3.6/site-packages/numexpr/interpreter.cpython-36m-darwin.so
Reason: image not found

I don't know how to do next.

My Environment:
Python 3.6.8
Pycharm 2019.1.3
Mac OS Mojave 10.14.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions