I’ve been using Julia for six years. I moved to it from Python, but one thing I absolutely cannot do is install packages. So today when I saw a graph in Wolfram Alpha that didn’t look right (eventually I found the root issue seems to be that Wolfram Alpha thinks arcsin(sin(x)/2))
is equal to sin(x)/2
) I decided I’d install a graphing calculator program on my computer…except why should I do that when I have Julia?! because I can’t install Plots.
So today is the day I suck it up and ask.
Accord to Plots, you install it with Pkg.add("Plots")
which results in
Pkg.add(“Plots”)
ERROR: UndefVarError: Pkg not defined
Stacktrace:
[1] top-level scope at REPL[2]:1
The Julia documentation says to enter the package manager with “]” (okay so far) and enter “add Plots”. That last part failed with “ERROR: no active project” except it most certainly is an active project.
19 posts - 5 participants