Reputation: 33
I have just started using Julia on a Windows 10 machine, and I have been trying to install some very basic packages. When I use the Pkg.add()
command, however, the command window returns the following error:
ERROR: SystemError: opening file C:\Users\username\.julia\environments\v1.0\Project.toml: Permission denied
The error message pops up even when using the Administrator mode. Any advice or tips would be appreciated! Thanks!
Upvotes: 3
Views: 1268
Reputation: 42214
Delete .julia
folder or set a new location for the JULIA_DEPOT_PATH
.
Once done use a non-administrator account (the one you normally work with) to reinstall packages.
Upvotes: 2