Closed rick2047 closed 3 years ago
What is the command you used to launch Pluto? Are you able to open a notebook? Loading plots is supposed to take a long time on windows (15 minutes), how long did you wait?
Does 1+1
work?
I have the same problem. I am using Julia 1.6 and I just updated to 0.14. I am able to open a notebook. However, when running code, Pluto gets stuck. In the REPL, I get the same error message as @rick2047 after launching Pluto. 1+1
does not work for me and neither does importing packages with using
. Importing packages directly in the REPL works fine. I already restarted the REPL several times, but that does not work either.
Downgrading to 0.12.21 solved the problem for me.
EDIT: Just to clarify, I'm using macOS Catalina, not WIndows.
@fonsp I have exactly the same behavior as @flaviomorelli . I used simple commands to run Pluto.
julia> using Pluto
julia> Pluto.run()
looks like it is related to #990.
Do you get anything from ENV["JULIA_NUM_THREADS"]
? Also what do you get if you run the following?
import Pluto
get(ENV, "JULIA_NUM_THREADS", string(Pluto.Configuration.roughly_the_number_of_physical_cpu_cores()))
I ran both the commands, they returned empty strings
julia> ENV["JULIA_NUM_THREADS"]
""
julia> import Pluto
julia> get(ENV, "JULIA_NUM_THREADS", string(Pluto.Configuration.roughly_the_number_of_physical_cpu_cores()))
""
Can you check whether the problem is fixed by doing:
julia> ]
pkg> activate --temp
pkg> add Pluto#fix-1058
julia> import Pluto
julia> Pluto.run()
yup, Pluto#fix-1058 works. I can open notebooks and do 1+1 and plotting. So that seems to fix it.
Sorry for the vague title, but I don't know what the root cause it. My pluto notebook has a single statement in it,
using Plots
. But Pluto just hangs there, and I see this error in the REPLIf this is useful, these are the packages installed