Registry.toml missing

#1

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 "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.

Contents of the registries/General folder are:

.git/
.test/
A/
.travis.yml
#2

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

1 Like
#3

Thank you, that worked.