-
Notifications
You must be signed in to change notification settings - Fork 393
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
Google AI Notebook Jupyterlab won't build with jupytext installed #686
Comments
Hi @abalter , thank you for reporting this. Well, I have no idea why the build fails, but... anyway you should install Jupytext using pip or conda, not an extension manager, because the extension manager would only install the extension, not the server part of Jupytext (while pip and conda would install both). Does that solve the issue? Note that in JupyterLab there should now be a warning that the extension requires the pip or conda package to be installed as well, cf. #654. Maybe that is the part that does not work in Google AI notebook? Do you get a similar problem if you try to install, say, |
Sooooo, I created a fresh ai notebook instance, and installed r-essentials, jupyterlab, jupytext, jupyter_contrib_nbextensions. How I have the notebook icon for RMD files, and I can open them as notebooks. Yay! But I still don't have the jupytext submenu under file. So I can't link notebooks except at the command line. When I did
But the build did complete. |
Great! You're very close to it. Now the last two issues are
See also https://jupytext.readthedocs.io/en/latest/install.html#jupytext-commands-in-jupyterlab
|
Thanks! Yes, guilty as charged--was looking for the submenu :) As I have no control over the jupyter version in the ai notebooks, I'll have to downgrade my jupytext version. Should I just use |
So, I created a fresh ai notebook. and installed jupytext with I have the jupytext commands now, but it is not recognizing Rmd files. When I right-click the only option I get is to open with Editor. Do I need to run a command to enable it? The formats I want to pair are ipynb an Rmd. |
Sorry @abalter , I should have been more explicit. On the command line you should
That is:
|
Is this warning important:
|
I created another fresh install and it worked! I might write up my steps and put it in a blog post or something. I did need to do things in a very particular order:
I was worried that if I ran Thanks for your help @mwouts! |
Excellent! Thanks for letting us know. Yes you're right, it is better to explicitely run |
This is actually more of a support request than bug report.
When I install jupytext via the extension manager in a google ai notebook I get a popup saying that I need to run build. I click on the UI link. Then I get a message that the build failed.
Is this a known problem? Any suggestions?
Actually, when build at the terminal it seems to work:
But still no jupytext manu.
The text was updated successfully, but these errors were encountered: