Skip to content

Fix templates not found when jupyter is installed in an external folder#1880

Open
bartoli wants to merge 2 commits intojupyter:mainfrom
bartoli:nbconvert-1773
Open

Fix templates not found when jupyter is installed in an external folder#1880
bartoli wants to merge 2 commits intojupyter:mainfrom
bartoli:nbconvert-1773

Conversation

@bartoli
Copy link

@bartoli bartoli commented Oct 14, 2022

For issue nbconvert #1773.
Look for the standard templates folder using their expected relative path compared to the existing script. When jupyter is installed using pip install jupyter --prefix=XXX, root_dirs did not contain XXX/share/jupyter as candidate. Maybe even jupyter_path() should be updated instead to potentially fix other places? I don't know the project enough to decide

bartoli and others added 2 commits October 14, 2022 17:25
For issue nbconvert jupyter#1773.
Look for the standard templates folder using their expected relative path compared to the existing script. When jupyter is installed using pip install jupyter --prefix=XXX,  root_dirs did not contain XXX/share/jupyter as candidate.
Maybe even jupyter_path() should be updated instead to potentially fix other places? I don't know the project enough to decide
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 this pull request may close these issues.

1 participant