msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.

Home Page:https://packages.msys2.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python-jupyterlab does not know how to open browser

Kreijstal opened this issue · comments

Description / Steps to reproduce the issue

Jupyter nor jupyterlab can't open browser, the reason is the path transformation is wrong they try to open "file:///C://" which windows does not find. However "file://C:/" will work, a workaround is to do path replacement like this

jupyter lab --browser "powershell start ('\"%s\"' -replace '\"//\"','\"/\"')"

Expected behavior

jupyter lab opens browser

Actual behavior

jupyter lab does not open browser like in every other distro

Verification

Windows Version

MINGW64_NT-10.0-19045

MINGW environments affected

  • MINGW64
  • MINGW32
  • UCRT64
  • CLANG64
  • CLANG32
  • CLANGARM64

Are you willing to submit a PR?

No response

this happens when starting it from msys2 bash