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

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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.

None yet

1 participant