We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94e7a61 commit 26ff5a5Copy full SHA for 26ff5a5
python/paddle/fluid/framework.py
@@ -19,7 +19,16 @@
19
import numpy as np
20
21
import proto.framework_pb2 as framework_pb2
22
-from . import core
+try:
23
+ from . import core
24
+except ImportError, e:
25
+ raise ImportError(
26
+ """NOTE: You may need to run \"export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH\"
27
+ if you encounters \"libmkldnn.so not found\" errors. If you have python
28
+ installed in other directory, replace \"/usr/local/lib\" with your own
29
+ directory. The original error is: """ % str(e))
30
+except Exception, e:
31
+ raise e
32
import unique_name
33
34
__all__ = [
0 commit comments