diff --git a/python/paddle/fluid/framework.py b/python/paddle/fluid/framework.py index 93cd6b621ac860bad37ad5ccfb733c53d07f8d2b..ea3117e02bd993b06de39725b2c3296031065e3c 100644 --- a/python/paddle/fluid/framework.py +++ b/python/paddle/fluid/framework.py @@ -26,7 +26,7 @@ except ImportError, e: """NOTE: You may need to run \"export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH\" if you encounters \"libmkldnn.so not found\" errors. If you have python installed in other directory, replace \"/usr/local/lib\" with your own - directory. The original error is: """ % str(e)) + directory. The original error is: \n""" + e.message) except Exception, e: raise e import unique_name