#Error importing packages.

1 messages · Page 1 of 1 (latest)

slow pivot
#

Whenever i try to download package with ]Pkg i get this message:

julia> using PyCall
 │ Package PyCall not found, but a package named PyCall is available from a registry.
 │ Install package?
 │   (@v1.9) pkg> add PyCall
 └ (y/n/o) [y]:
   Resolving package versions...
ERROR: SystemError: opening file "C:\\Users\\user\\.julia\\logs\\manifest_usage.toml": Permission denied

It started recently. Like, last week. Before that there was no problem like that. Notice, that i tried 1.8.0, 1.8.3 and 1.9.0 alpha. Same thing.

sand tide
#

I'm not 100% certain what the exact error is, but it's likely windows' fault
the OS is restricting access to the file for whatever reason
try manually changing the security defaults for that folder/file

golden badger
#

it's why i dont use Julia on windows

#

it's icky and has a lot of workarounds

stuck lotus
#

I'd try:

  1. Opening Powershell as admin
  2. Instantiate a new environment and install packages there.

Whichever works.

slow pivot
#

Problem solved. I deleted .julia folder lmao

golden badger