fastai / nbdev

Create delightful software with Jupyter Notebooks
https://nbdev.fast.ai/
Apache License 2.0
4.9k stars 487 forks source link

[Question] Can I install nbdev in a virtual env with only ipykernel instead of jupyter? #1371

Closed Martin15135215 closed 11 months ago

Martin15135215 commented 11 months ago

https://github.com/fastai/nbdev/blob/4af4d479c78880f4a18af4254b119f8af8b3a8a4/README.md?plain=1#L65-L66

I have installed Jupyter lab system-wide

for my project I do

pipenv install ipykernel
pipenv install nbdev
pipenv run ipykernel install --user --name=<KERNEL_NAME>

Or do I need to install for all my projects a local Jupyter lab instance?

pipenv install jupyterlab
pipenv install nbdev
hugetim commented 11 months ago

The first option should work fine.

hugetim commented 11 months ago

@Martin15135215 Please close this issue if it works for you and you don't have any further questions.

Martin15135215 commented 11 months ago

I didn't test it yet, however I will close this issue meanwhile. If I have further questions, I will reopen this issue or create a new issue.