-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
Unable to weave tutorials #536
Comments
Hi, using Pkg with following error message: julia> SciMLTutorials.open_notebooks() |
Hi All, To start with I cloned the SciMLTutorials.jl repository with: Then changed directory to the top level of the SciMLTutorials.jl directory and followed the instructions at the top of the web page https://tutorials.sciml.ai/stable/ At first I used the instructions from the top of the tutorials web page to get started. Using either of Julia 1.6.3 or Julia 1.8.x did not work. The first version is too old, the second version is too new. Using Julia version 1.7.3 was the silver bullet. My experience is that the success of your weaves depends on the correct Julia version. When I use Julia 1.7.3 and follow the instructions on https://tutorials.sciml.ai/stable/ then things work fine. I can weave markdown, notebooks and pdf files too. To get julia 1.7.3 Install juliaup and then install 1.7.3 using juliaup. Then the instructions for Contributing at the bottom also work if I do not enter the second line The instructions for contributing may work under 1.7.3 with the You can weave all the other examples too. To weave pdf files you must install xetex/xelatex, the replacement for pdflatex. To weave notebooks of all files in a folder:
To weave one file in a folder:
To start the notebooks you can get out of Julia, change to the notebooks/DiffEqUncertainty directory. Copy any *.ipynb files to SciMLTutorials.jl/tutorials/DiffEqUncertainty. Then change directory to SciMLTutorials.jl/tutorials/DiffEqUncertainty. Assuming you've installed IJulia you can use jupyter-notebook or jupyter-lab from the tutorials/DiffEqUncertainty directory.
or
if you want access to your jupyter session on other computers on your network. |
I fixed it up to be a lot more automated. See the new directions in https://github.com/SciML/SciMLTutorials.jl#interactive-notebooks . They should be added to the doc websites shortly. |
Thanks!
Will try this out with Julia 1.6.3, 1.7.3 and 1.8.2. When experimenting,
I found that using docker or linux containers to completely isolate the
versions prevented brain fog.
…On 2022-10-17 03:23, Christopher Rackauckas wrote:
I fixed it up to be a lot more automated. See the new directions in
https://github.com/SciML/SciMLTutorials.jl#interactive-notebooks .
They should be added to the doc websites shortly.
—
Reply to this email directly, view it on GitHub
<#536 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABXOUN7RP5TSM5EGMJCIJITWDT5FRANCNFSM6AAAAAAQ7VJV6U>.
You are receiving this because you commented.Message ID:
***@***.***>
|
I'm able to add the package but I get this problem when I run "SciMLTutorials.open_notebooks()":
ERROR: IOError: readdir("DiffEqUncertainty"): no such file or directory (ENOENT)
Stacktrace:
[1] uv_error
@ ./libuv.jl:97 [inlined]
[2] readdir(dir::String; join::Bool, sort::Bool)
@ Base.Filesystem ./file.jl:865
[3] readdir
@ ./file.jl:858 [inlined]
[4] weave_folder(folder::String, build_list::Tuple{Symbol})
@ SciMLTutorials ~/.julia/packages/SciMLTutorials/97ktD/src/SciMLTutorials.jl:69
[5] weave_all(build_list::Tuple{Symbol})
@ SciMLTutorials ~/.julia/packages/SciMLTutorials/97ktD/src/SciMLTutorials.jl:64
[6] open_notebooks()
@ SciMLTutorials ~/.julia/packages/SciMLTutorials/97ktD/src/SciMLTutorials.jl:131
[7] top-level scope
@ REPL[3]:1
How do I fix this?
The text was updated successfully, but these errors were encountered: