'Run Pkg.instantiate() error when importing julia package

I have added a package Relief.jl to my environment. I have also checked if it's available by typing stand it's listed under available packages for the environment. However when I type using Relief I get the following error,

ERROR: ArgumentError: Package Relief [e59a39ae-ffc4-11ea-35a5-2b2996f35250] is required but does not seem to be installed:

 - Run Pkg.instantiate() to install all recorded dependencies.

Any ideas what I should do to resolve this?



Solution 1:[1]

You need to run the command: ] build "name of package" in the terminal. This should fix the problem.

(Without the speech marks. That is just to highlight its a name)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 John Smith