Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No window open in the browser #970

Closed
likanzhan opened this issue Jan 2, 2021 · 2 comments
Closed

No window open in the browser #970

likanzhan opened this issue Jan 2, 2021 · 2 comments

Comments

@likanzhan
Copy link

  • When I run using IJulia; notebook(), I got the following output but no window is open in the browser.
[ Info: running setenv(`/Users/lzhan/.julia/conda/3/bin/jupyter notebook`,["XPC_FLAGS=0x0", "PATH=/Users/lzhan/.julia/conda/3/bin:/usr/local/opt/[email protected]/bin:/usr/local/opt/curl/bin:/Library/Frameworks/Python.framework/Versions/3.8/bin: /Users/lzhan/Library/Python/2.7/bin:/Users/lzhan/julia/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools", "PWD=/Users/lzhan", "DISPLAY=/private/tmp/com.apple.launchd.f0EbEbToKQ/org.macosforge.xquartz:0", "XPC_SERVICE_NAME=0", "TERM_PROGRAM=iTerm.app", "JUPYTER=", "SHELL=/bin/bash", "__CF_USER_TEXT_ENCODING=0x1F7:0x0:0x0", "COLORFGBG=0;15", "LC_TERMINAL_VERSION=3.4.3", "LC_CTYPE=UTF-8", "TMPDIR=/var/folders/qz/0srg88cd2459h1cbn623wrt00000gq/T/", "CONDARC=/Users/lzhan/.julia/conda/3/condarc-julia.yml", "ITERM_PROFILE=Default", "SHLVL=1", "LOGNAME=lzhan", "CONDA_PREFIX=/Users/lzhan/.julia/conda/3", "TERM_SESSION_ID=w0t0p0:18C8E3A6-D197-459C-9757-37770372C84A", "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.5MA7oSnZ4l/Listeners", "LC_TERMINAL=iTerm2", "JULIA_PKG_SERVER=https://mirrors.bfsu.edu.cn/julia/static", "_=/Users/lzhan/julia/usr/bin/julia", "MATLAB_HOME=/Applications/MATLAB_R2017a.app", "Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.LBswEWQ9zR/Render", "USER=lzhan", "JULIA_EDITOR=code", "ITERM_SESSION_ID=w0t0p0:18C8E3A6-D197-459C-9757-37770372C84A", "TERM=xterm", "HOME=/Users/lzhan", "TERM_PROGRAM_VERSION=3.4.3", "OPENBLAS_MAIN_FREE=1", "COLORTERM=truecolor", "PYTHONIOENCODING=UTF-8"])
Process(setenv(`/Users/lzhan/.julia/conda/3/bin/jupyter notebook`,["XPC_FLAGS=0x0", "PATH=/Users/lzhan/.julia/conda/3/bin:/usr/local/opt/[email protected]/bin:/usr/local/opt/curl/bin:/Library/Frameworks/Python.framework/Versions/3.8/bin: /Users/lzhan/Library/Python/2.7/bin:/Users/lzhan/julia/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:/opt/X11/bin:~/.dotnet/tools", "PWD=/Users/lzhan", "DISPLAY=/private/tmp/com.apple.launchd.f0EbEbToKQ/org.macosforge.xquartz:0", "XPC_SERVICE_NAME=0", "TERM_PROGRAM=iTerm.app", "JUPYTER=", "SHELL=/bin/bash", "__CF_USER_TEXT_ENCODING=0x1F7:0x0:0x0", "COLORFGBG=0;15"  …  "Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.LBswEWQ9zR/Render", "USER=lzhan", "JULIA_EDITOR=code", "ITERM_SESSION_ID=w0t0p0:18C8E3A6-D197-459C-9757-37770372C84A", "TERM=xterm", "HOME=/Users/lzhan", "TERM_PROGRAM_VERSION=3.4.3", "OPENBLAS_MAIN_FREE=1", "COLORTERM=truecolor", "PYTHONIOENCODING=UTF-8"]; dir="/Users/lzhan"), ProcessExited(1))
  • The following is the version of my system:
julia> versioninfo()
Julia Version 1.7.0-DEV.205
Commit 5ee2d601ed (2021-01-01 10:48 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin18.7.0)
  CPU: Intel(R) Core(TM) i7-4960HQ CPU @ 2.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.0 (ORCJIT, haswell)
Environment:
  JULIA_PKG_SERVER = https://mirrors.bfsu.edu.cn/julia/static
  JULIA_EDITOR = code
@stevengj
Copy link
Member

stevengj commented Jan 3, 2021

What happens if you run /Users/lzhan/.julia/conda/3/bin/jupyter notebook in a terminal?

@likanzhan
Copy link
Author

Thanks. It seems that I changed the c.NotebookApp.notebook_dir in the jupyter_notebook_config.py file to a directory that doesn't exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants