The packages in different paths can't work together

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