AnswerDotAI / AnswerDotAI/nbdev
hooks aren't found in JupyterLab
- Lingua principale
- Jupyter Notebook
- Stelle
- 5.3k
- Fork
- 513
- Merge medio
- 2g 30m
- PR unite (30g)
- 8
Descrizione
Hi. I've got an issue with hooks not being found in JupyterLab. First of all, both my terminal and my JupyterLab instance are running on the same activated conda environment. I've checked to make sure I have the latest version of nbdev (2.3.12).
When I run nbdev hooks from iTerm, they work just fine. You'll see an error but that just proves that the command was indeed called.

But when I run the same command in the JupyterLab terminal, I get an "command not found" error. However, as you can see, I can still run the `nbdev_export` manually with `./env/bin/nbdev_export`.

This wouldn't be that big of a deal, except I'll be doing a [tutorial](https://cfp.scipy.org/2023/talk/NFWZXD/) at SciPy about creating complex web applications with jupyter widgets + voila + nbdev here in about exactly a month, and I'll need participants to be able to run these commands from the JupyterLab terminal specifically. Any help on this issue would be much appreciated :)
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia confrontando il comando `nbdev hooks` nell’ambiente iTerm con il terminale JupyterLab, dove `./env/bin/nbdev_export` viene ancora eseguito manualmente. Traccia l’ambiente utilizzato da ciascun terminale e determina perché il comando nbdev non viene trovato; il lavoro è completato quando nbdev hooks viene eseguito direttamente nel terminale JupyterLab.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- jupyter-notebook, python
- Ambito
- cli, devtools
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100