Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit a270a65

Browse files
committed
Added error message when used on Windows
1 parent bf31cc0 commit a270a65

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

jupyterlab_dash/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import uuid
44
import time
55
from threading import Timer
6+
import platform
67

78
from queue import Empty
89
from urllib.parse import urlparse
@@ -27,6 +28,12 @@ class AppViewer(object):
2728
_jupyterlab_url = None
2829

2930
def __init__(self, host='localhost', port=None):
31+
32+
if platform.system() == 'Windows':
33+
raise OSError("""\
34+
Unfortunately, the jupyterlab-dash extension is not yet
35+
compatible with Windows""")
36+
3037
self.server_process = None
3138
self.uid = str(uuid.uuid4())
3239
self.host = host

0 commit comments

Comments
 (0)