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

Can't choose the port from where to spawining the server with IJulia.notebook #1105

Open
giordano opened this issue Feb 16, 2024 · 2 comments · May be fixed by #1118
Open

Can't choose the port from where to spawining the server with IJulia.notebook #1105

giordano opened this issue Feb 16, 2024 · 2 comments · May be fixed by #1118

Comments

@giordano
Copy link
Contributor

The only work around I found is to run the following command

$(julia --compile=min --project -e 'using IJulia; println(joinpath(IJulia.Conda.SCRIPTDIR, "jupyter"))') notebook --port="${PORT}"

where ${PORT} is the desired port, but this feels less than ideal.

@stevengj
Copy link
Member

stevengj commented Feb 16, 2024

Why not just run jupyter directly? Why go through julia at all? The IJulia.notbook() function is mainly a convenience for interactive users …

That being said, it is perfectly reasonable to add optional arguments to this function to let you pass additional command-line parameters.

@giordano
Copy link
Contributor Author

Why not just run jupyter directly? Why go through julia at all?

Because I don't know where jupyter is installed and I don't care.

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

Successfully merging a pull request may close this issue.

2 participants