diff --git a/pandas/io/pytables.py b/pandas/io/pytables.py index bc99417c67310..b49c1b94b32ac 100644 --- a/pandas/io/pytables.py +++ b/pandas/io/pytables.py @@ -568,7 +568,10 @@ def flush(self, fsync=False): if self._handle is not None: self._handle.flush() if fsync: - os.fsync(self._handle.fileno()) + try: + os.fsync(self._handle.fileno()) + except: + pass def get(self, key): """