diff --git a/python/paddle/fluid/framework.py b/python/paddle/fluid/framework.py index c15d54a7f0e846c47de7ae6861ae4fb28e979dd8..921a3ea1833e9ed6333a5b20284a5712c61b60a8 100644 --- a/python/paddle/fluid/framework.py +++ b/python/paddle/fluid/framework.py @@ -28,6 +28,7 @@ from .. import compat as cpt from .proto import framework_pb2 try: if os.name == 'nt': + import sys third_lib_path = os.path.abspath(os.path.dirname( __file__)) + os.sep + '..' + os.sep + 'libs' os.environ['path'] += ';' + third_lib_path