Hi, this is a duplicate post, but my original post was really not in a suitable thread.
as per subject, doesn’t matter what the package is I get the same error.
echo $JULIA_LOAD_PATH
.
any ideas ?
Thanks.
‘’’
pkg> add PyPlot
ERROR: no active project
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] find_project_file(::Nothing) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Types.jl:243
[3] Pkg.Types.EnvCache(::Nothing) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Types.jl:285 (repeats 2 times)
[4] Type at ./none:0 [inlined]
[5] Context!(::Array{Pair{Symbol,Any},1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/Types.jl:367
[6] Context! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:497 [inlined]
[7] do_add!(::Dict{Symbol,Any}, ::Array{Pkg.Types.PackageSpec,1}, ::Dict{Symbol,Any}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:633
[8] #invokelatest#1(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:691
[9] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:690
[10] do_cmd!(::Pkg.REPLMode.PkgCommand, ::REPL.LineEditREPL) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:542
[11] #do_cmd#30(::Bool, ::Function, ::REPL.LineEditREPL, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:507
[12] do_cmd at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:503 [inlined]
[13] (::getfield(Pkg.REPLMode, Symbol(“##41#44”)){REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/Pkg/src/REPLMode.jl:842
[14] #invokelatest#1 at ./essentials.jl:691 [inlined]
[15] invokelatest at ./essentials.jl:690 [inlined]
[16] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/LineEdit.jl:2261
[17] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:1029
[18] run_repl(::REPL.AbstractREPL, ::Any) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:191
[19] (::getfield(Base, Symbol(“##831#833”)){Bool,Bool,Bool,Bool})(::Module) at ./logging.jl:311
[20] #invokelatest#1 at ./essentials.jl:691 [inlined]
[21] invokelatest at ./essentials.jl:690 [inlined]
[22] macro expansion at ./logging.jl:308 [inlined]
[23] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:340
[24] exec_options(::Base.JLOptions) at ./client.jl:252
[25] _start() at ./client.jl:432
‘’’