You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Julia 1.1 in Ubuntu 18.04 and was doing the Exercise 14-1 of the Modules Section in chapter 14.
Executing the code:
include("wc.jl")
using LineCount
linecount("wc.jl")
gives the error:
ArgumentError: Package LineCount not found in current path:
- Run `import Pkg; Pkg.add("LineCount")` to install the LineCount package.
Stacktrace:
[1] require(::Module, ::Symbol) at ./loading.jl:823
[2] top-level scope at In[1]:2
I am using Julia 1.1 in Ubuntu 18.04 and was doing the Exercise 14-1 of the Modules Section in chapter 14.
Executing the code:
gives the error:
In https://stackoverflow.com/questions/37200025/how-to-import-custom-module-in-julia says that in >0.7 you should use:
that runs with no problem.
Thanks for your work in this great book,
Daniel Palma
The text was updated successfully, but these errors were encountered: