Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

Running Julia script with predefined environment

$
0
0

@arvindmohan wrote:

Julia newbie here. I downloaded a package with Project.toml and instantiated the environment in Julia interactively so all deps were installed. Now I need to run a script (here, testing.jl) thru command line in this environment. Is this the correct usage?

julia --project=envName testing.jl

envName is the name I declared for the project. I am still getting ERROR: LoadError: UndefVarError: for some methods, while I know that the corresponding packages have been installed. Would appreciate any help.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 2795

Latest Images

Trending Articles



Latest Images