Skip to content
Permalink
Browse files

fix for python 2.7

  • Loading branch information...
sdpython committed Mar 30, 2016
1 parent f7041aa commit 297702f253b0fc1983358d9216f88c98167f045e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/pyquickhelper/ipythonhelper/jupyter_cmd.py
@@ -23,7 +23,7 @@ def get_jupyter_program(exe=None):
if exe is None:
exe = os.path.dirname(sys.executable)
if sys.platform.startswith("win"):
if not exe.endswith("Scripts"):
if not exe.lower().endswith("Scripts"):
ipy = os.path.join(exe, "Scripts", "jupyter.exe")
if not os.path.exists(ipy):
raise FileNotFoundError(ipy)

0 comments on commit 297702f

Please sign in to comment.
You can’t perform that action at this time.