Loading packages into Julia does not work

Solution 1:

Pkg.add not working #627

You need import Pkg first. Or use the repl mode with ] and then add IJulia.

Running import Pkg should resolve the issue.