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

how to add jupyterlab_execute_time to the Dockerfile? #2417

Closed
markqiu opened this issue Jan 25, 2022 · 2 comments
Closed

how to add jupyterlab_execute_time to the Dockerfile? #2417

markqiu opened this issue Jan 25, 2022 · 2 comments
Labels
component:docker Container/Docker images related issues component:install Installation (pip, conda, etc) or packaging (components) kind:question Further information is requested

Comments

@markqiu
Copy link

markqiu commented Jan 25, 2022

I'm adding jupyterlab_execute_time by add a line in the end of the Dockerfile, but not work.

conda install jupyterlab_execute_time.

after installation, elyra extensions disappeared.

Any idea?

@markqiu markqiu added the kind:enhancement New feature or request label Jan 25, 2022
@kevin-bates
Copy link
Member

A couple of things.

Please provide any output that is produced from your docker build along with your Dockerfile (or at least the minimally viable content to reproduce the issue).

I recently installed the extension to look into #2387, although not using docker. The jupyterlab-execute-time repo seems to prefer pip install over conda install and you should make sure you're using the conda-forge channel as the defaults channel will often lag months behind conda-forge (e.g., conda install -c conda-forge jupyterlab_execute_time).

Also note that you will encounter the issue described in #2387 until a new version (> 0.5.10) of nbclient is available since that will be the carrier for the fix to #2387.

Have you confirmed the image works correctly with Elyra prior to adding the execute-time extension?

@kevin-bates kevin-bates added component:docker Container/Docker images related issues component:install Installation (pip, conda, etc) or packaging (components) status:Waiting for Author and removed kind:enhancement New feature or request labels Jan 25, 2022
@ptitzler ptitzler added kind:question Further information is requested and removed status:Needs Triage labels Jan 25, 2022
@markqiu
Copy link
Author

markqiu commented Jan 26, 2022

@kevin-bates Thank you for your information.
I solved it by adding the install line before the make install_all line. Like this:

cd /tmp/elyra  
conda install jupyterlab_execute_time -y  
make install-all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:docker Container/Docker images related issues component:install Installation (pip, conda, etc) or packaging (components) kind:question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants