The error that appears is the following:
import Pkg; Pkg.add(“MOLFiniteDifference”)
ERROR: The following package names could not be resolved:
- MOLFiniteDifference (not found in project, manifest or registry)
In my code when I need to use this module:
import Pkg; Pkg.add(“MOLFiniteDifference”)
ERROR: The following package names could not be resolved:
- MOLFiniteDifference (not found in project, manifest or registry)
Hi @joaofernandez2023
Welcome to the julia discourse! I believe you’re seeing this error because MOLFiniteDifference is not the name of a currently registered julia package. MOLFiniteDifference seems to be the name of a type used in the package MethodOfLines.jl. That is most likely the package you need to install.
After researching I reached the same conclusion and installed the MethodOfLines.jl. Nevertheless I continue to have the same error in my code and to be requested to add MOLFiniteDifference.jl. Is it possible to add it directly from the github from MethodOfLines.jl (since it is one of the files that compounds this package.