Registry.toml missing


Julia 1.1, Windows 10 64-bit.

Just installed, doing ‘add [package]’ in the package REPL gives

Cloning default registries into `C:\Users\User\.julia`
Cloning registry from ""
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.

Contents of the registries/General folder are:


It seems like there was some problem when the registry got cloned. Try to remove registries/General completely and try again.

1 Like

Thank you, that worked.