import Pkg; Pkg.add("WebIO")
using WebIO
WebIO.install_jupyter_nbextension()
import Pkg; Pkg.add("Interact")
using Interact
function run_infection(T)
lambda=1.01
I= zeros(T)
I[1]=1 #starts indexing at 1
for n in 1:T-1
I[n+1]= I[n]*lambda
end
plot(I, m=:0)
end
@manipulate for T in 1:100
run_infection(T)
end
Here's my code:
The error I get is: WebIO not detected.