Julia 1.73 error calling packages with "Using" on windows 10

I am a newbie in Julia. Initially Julia was running well on my laptop with windows 10. But after installing packages. Now every time i call any installed package using the keyword “Using”, i get error. I need your help. Thank you.

julia> Using Pkg
ERROR: syntax: extra token “Pkg” after end of expression
Stacktrace:
[1] top-level scope
@ none:1

julia> Using Flux
ERROR: syntax: extra token “Flux” after end of expression
Stacktrace:
[1] top-level scope

using is lower case.

2 Likes

Thanks a lot . It solved everything.

Interestingly while the error message is accurate, it may be one of the lest informative in Julia.

Surely

Unless you want to special-case “Using”, the error message is accurate. I’m not sure we should read in user’s mind to guess the case wrong.

Matlab does a lot of second guessing…

>> Sin(1.0)
Unrecognized function or variable 'Sin'.
 
Did you mean:
>> sin(1.0)
1 Like