The packages in different paths can't work together

The package “StringEncodings” installed in Repl, which only could be loaded in Repl but not in script by “using StringEncodings”

Pkg.status() display “Julia Packages”

“Julia Packages” are packages for Julia Language

“Atom Packages” are packages for Atom Application

You cannot install on Atom Application a “Julia Package”.

1 Like

Despite the StringEncodings package installed in Julia, the “using StringEncodings” sentence doesn’t work in julia file, unless run “using StringEncodings” in repel. Why?

Execute this instruction both in your REPL and in your julia script file. And come back with the results for both.


julia> print(pwd())

Both of them show D:\myprojects\