-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
Just decided to check out Stan in Julia, but cannot get the walkthough example to work.
julia> rc = stan_sample(sm, data=data);
ERROR: IOError: could not spawn `'C:\Users\MQ2020~1\AppData\Local\Temp\jl_fEP3jt\bernoulli.exe' sample num_samples=1000 num_warmup=1000 save_warmup=0 thin=1 adapt engaged=1 gamma=0.05 delta=0.8 kappa=0.75 t0=10.0 init_buffer=75 term_buffer=50 window=25 algorithm=hmc engine=nuts max_depth=10 metric=diag_e stepsize=1.0 stepsize_jitter=1.0 random seed=-1 init=2 id=1 data 'file=C:\Users\MQ2020~1\AppData\Local\Temp\jl_fEP3jt\bernoulli_data_1.R' output 'file=C:\Users\MQ2020~1\AppData\Local\Temp\jl_fEP3jt\bernoulli_chain_1.csv' refresh=100`: no such file or directory (ENOENT)
Stacktrace:
[1] _spawn_primitive(::String, ::Cmd, ::Array{Any,1}) at .\process.jl:99
[2] _spawn(::Cmd, ::Array{Any,1}, ::Base.ProcessChain) at .\process.jl:181
[3] _spawn(::Base.AndCmds, ::Array{Any,1}, ::Base.ProcessChain) at .\process.jl:174
[4] #587 at .\process.jl:120 [inlined]
[5] setup_stdios(::Base.var"#587#588"{Base.AndCmds}, ::Array{Any,1}) at .\process.jl:196
[6] _spawn(::Base.AndCmds, ::Array{Any,1}) at .\process.jl:119
[7] _spawn(::Base.CmdRedirect, ::Array{Any,1}) at .\process.jl:139
[8] run(::Base.CmdRedirect; wait::Bool) at .\process.jl:439
[9] run at .\process.jl:438 [inlined]
[10] stan_sample(::SampleModel; kwargs::Base.Iterators.Pairs{Symbol,Dict{String,Any},Tuple{Symbol},NamedTuple{(:data,),Tuple{Dict{String,Any}}}}) at C:\Users\MQ20200577\.julia\packages\StanBase\jHkIX\src\stanrun\stan_sample.jl:126
[11] top-level scope at REPL[4]:1
I also tried ] test Stan and testing failed with the same error.
Metadata
Metadata
Assignees
Labels
No labels