diff --git a/python/paddle_serving_server_gpu/__init__.py b/python/paddle_serving_server_gpu/__init__.py index 86f714156fcb60e842275a88418d2fba1b85fa02..3984bc28fe3087e4b4c8ecdbfffbdbc1ba1581ea 100644 --- a/python/paddle_serving_server_gpu/__init__.py +++ b/python/paddle_serving_server_gpu/__init__.py @@ -25,7 +25,8 @@ from .version import serving_server_version from contextlib import closing import argparse import collections -import fcntl +if sys.platform.startswith('win') is False: + import fcntl import shutil import numpy as np import grpc