Try to see what version was the last one supporting Julia 1.6 (look at the commit history of the project.toml on GitHub) and install that version (by specifying it in the project.toml.of your environment).
e.g. How to install a specific version of a package with Pkg.add(“…”)