-
Notifications
You must be signed in to change notification settings - Fork 137
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
Errors loading jupytext with jupyter lab
#86
Comments
The error message says that the
|
Thanks. I've updated my
and used |
The installation line for
So, there seems to be two differences:
I recommend creating your folder with Tell me if that works. |
Thanks for following up on this. Following your suggestion, I was able to build a
However, this still fails to validate; when I run
I get
I've tried digging into this a little more. I think the installation command you quoted there is only needed for the notebook extension which adds the notebook menu features. However, I don't need those right away, so I'm okay if they don't work. As such, I'm wondering whether the core issue is regarding which python environment I've installed
and suggests running
I thought I had this covered in my Another error message suggesting
which again sounds like a failure to find the |
I think that the command you executed (and the one I mentioned before) is the one that adds the menu features. I am able to install
And the extension appears when I start The point about the |
Thanks for your help, I think I'm now close to having jupytext working to manage my notebooks! After doing some more reading, it became clear to me that the part I wanted was just the server extension, not the notebook extension, or the lab extension. As such, I've got the following
I can then run
and see that it successfully validates the So my outstanding question relates to me being a Nix newbie: how can I extract the correct path to add to |
I see. We can do that if we make the |
Is there something else we can document to avoid the problems you had? |
It may be an esoteric point, but it was initially unclear to me that there were three separate versions of python involved. Perhaps just clarifying that, and the correct method for injecting packages into each of them, would help. I think for someone like me, who was pretty confident I understood the python error but didn't understand I was adding the package to the wrong environment, this might help. Regardless, thanks very much for your help addressing this! |
Thank you too! We aim to make all Jupyter capabilities accessible with JupyterWith, and you just helped us with that. I added some comments to the README to avoid these problems in the future. |
I'm trying to enable jupytext as the content manager for my notebooks. However, it seems the python module isn't available to the loader during start-up with
jupyter lab
(error beingModuleNotFoundError: No module named 'jupytext'
)I made a gist of my
shell.nix
file and the output ofjupyter lab
here:(https://gist.github.com/mdtisdall/3446714f86373697609961b8b5d593bb)
The text was updated successfully, but these errors were encountered: