I’m using julia on an m1 MacBookPro. When I try to install a package using Pkg.add(PackageName) I get “Pkg not defined” What is going on here? can anyone point me in the right direction?
Don Groves
Don Groves
Run
using Pkg
first.
Thanks, that helps. But after using Pkg, I tried Pkg.add(DataStructures.jl) and got DataStructures not defined. Any idea where I can find DataSgructures.jl?
using Pkg
Pkg.add("DataStructures")
using DataStructures
Thanks!