Just installed, doing ‘add [package]’ in the package REPL gives
Cloning default registries into `C:\Users\User\.julia`
Cloning registry from "https://github.com/JuliaRegistries/General.git"
ERROR: SystemError: opening file "C:\\Users\\User\\.julia\\registries\\General\\Registry.toml": No such file or directory
I can add directly from URL but it won’t let me import them afterwards giving a similar error.
ERROR: ArgumentError: Package [package] not found in current path:
- Run `import Pkg; Pkg.add("[package]")` to install the [package] package.
I was having the same error, but removing General didn’t make it work. I’m now getting
ArgumentError: '/nfs/home/seth/.julia/registries/General/.git/logs/refs
/remotes/origin/register/secp256k1' exists. `force=true` is required to remove '/nfs/home/seth/.julia/registries/General/.git/logs/refs/remot
es/origin/register/secp256k1' before copying.
Julia 1.6 (MacOS) - Received this error after trying a to run a clean clone. Added the empty [Registry.toml] file to the folder, and recompiled. Works like a charm! It’s likely a REPL generated file!