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

jupyter lab install path not flexible #275

Open
michaelbrewer opened this issue Jul 24, 2024 · 3 comments
Open

jupyter lab install path not flexible #275

michaelbrewer opened this issue Jul 24, 2024 · 3 comments

Comments

@michaelbrewer
Copy link
Contributor

michaelbrewer commented Jul 24, 2024

When installing jupyter via pip3 install --upgrade --no-cache-dir --no-warn-script-location jupyterlab , the install path may not be in $HOME/.local/bin/jupyter which run.sh current depends.

A solution could be to provide a parameter to the fully qualified path.

@coder-labeler coder-labeler bot added the bug label Jul 24, 2024
@michaelbrewer michaelbrewer changed the title jupyter lab jupyter lab install path not flexible Jul 24, 2024
@matifali
Copy link
Member

When installing jupyter via pip3 install --upgrade --no-cache-dir --no-warn-script-location jupyterlab , the install path may not be in $HOME/.local/bin/jupyter

When is this possible? I have not seen this yet.

We can make the path an input to the module to support/fix cases affected by the assumption.

@matifali matifali added enhancement and removed bug labels Jul 25, 2024
@michaelbrewer
Copy link
Contributor Author

the script assumes that the jupyter exec in located in $HOME/.local/bin/jupyter but this won't always be true.

So when it tests command -v jupyterlab it does a pip3 install --upgrade --no-cache-dir --no-warn-script-location jupyterlab but then jupyter might be installed in a python shim.

@matifali
Copy link
Member

matifali commented Sep 23, 2024

How would the situation change after #294?

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