-
Notifications
You must be signed in to change notification settings - Fork 386
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
Jupytext failed to open *.py file as notebook in sagemaker studio aws #1162
Comments
Hi @ihgumilar , have you installed the Python package? I mean, Also
|
Hi @mwouts thanks for the reply. For the last two points, when I excluded them. It still shows the same problem. In fact, I tried to add both of them a bit later after encountering such issue. Any help ? |
I have the same problem, I cannot open |
Hi @henriquebecker91 , the problem that you describe is consistent with no having the Jupytext contents manager. In most cases it's not necessary to install manually the npm extension (the one called You don't need to tweak the configuration file neither. But you do need to install Jupytext's pip or conda package before launching the Jupyter server. One way to check that Jupytext's contents manager is installed is to check the icon for It might help too to see the logs of the Jupyter server too. |
I have |
The full output if I run Jupyter directly.
|
I did a very thorough post of my problem in https://discourse.julialang.org/t/jupyter-and-jupytext-through-ijulia-jl-jupytext-does-not-really-work/116330 |
Hi @henriquebecker91 , thank you for the logs, that's very helpful. I see that there is a typo in the try/except of the import - I'll fix that, but the import should not fail in the first place. Could you provide some instructions on how to install IJulia locally? And then share the details of how you are installing Jupytext? Thanks! |
Sure! Thank your for looking into that. I downloaded the last stable version of Julia (1.10.4) from here: https://julialang.org/downloads/
This should give you a prompt asking if you want to install Jupyter by means a conda installation internal to Julia and only used by Julia, I said yes to that.
We can run Jupyter Lab by means of |
Hi @henriquebecker91 , thanks for the detailed instructions! I did it a quick try, and I realize that it did not went exactly as the above.
That worked
That did not happen on my end
I got that error:
So I installed conda as instructed, and then installed Jupytext
That worked, but Jupyter Lab was not installed, so I ran After that I was able to launch
That also seemed to work on my end |
So I guess the difference between my environment and yours is how Jupyter was installed. Possibly there are additional packages on your end. Maybe we can compare our My
|
I executed a diff, and our lists are exactly equal except by the header (because of the home folder name).
I repeated the steps without the above and have the same problem. The step above should not be necessary, as julia manages |
I posted my step-by-step to be able to make It seems like trying to use the |
Hi Team,
I have installed already jupytext, but when I try to open *.py file with jupyter notebook, it throws me an error ( I am using jupyterlab 4 :
I have installed it in sagemaker studio and also put this code in life cycle configuration as suggested by this forum, but I changed it slightly
Note, even though, I remove the configuration file, it still gives me the above error.
I would really appreciate for your help. Thanks a lot for your help :)
The text was updated successfully, but these errors were encountered: