Hello.
Unfortunatelly, i misunderstood the deadlines of the first quizzes, so i ended up losing them, so now i am catching up with the course.
i'm having a problem with this part of the code here, where it says that the both the distributions and the exponential are not found in the current path. How do I solve this?
If it helps, i didnt know how to import the code from the course page to thew git, so i just copied it and pasted onto the visual studio.
Thank you,
Rodolfo
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:
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.