Missing distribution and exponential

Re: Missing distribution and exponential

par Antonello Lobianco,
Nombre de réponses : 0
You miss the `Distribution` package in the environment where you are working.

You have two options.

FIRST OPTION (best)
Download from GitHub the `Manifest.toml` file that comes in the unit 02 (this one) and place it in the same folder of your script.
Add the following lines at the beginning of your script and evaluate them:
cd(@__DIR__)
using Pkg
Pkg.activate(".")
Pkg.instantiate()
This will activate an environment specific to that folder and install the exact packages (including dependencies) that I used when I ran the code myself.

SECOND OPTION (worst)
Type at the beginning of your code:

using Pkg
Pkg.add("Distributions")
This will install the distribution package, at the newest available version. Note you will have to do this with all the other packages used in that script.