# Julia crashes with new installation on installing a package

**URL:** https://discourse.julialang.org/t/julia-crashes-with-new-installation-on-installing-a-package/79150
**Category:** General Usage
**Created:** [April 7, 2022, 8:42am UTC](https://discourse.julialang.org/t/julia-crashes-with-new-installation-on-installing-a-package/79150 "2022-04-07T08:42:09Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![amca01](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/amca01/32/5853_2.png) [@amca01](https://discourse.julialang.org/u/amca01)
#### Post date: [April 7, 2022, 8:42am UTC](https://discourse.julialang.org/t/julia-crashes-with-new-installation-on-installing-a-package/79150/1 "2022-04-07T08:42:09Z")

</div>

I’ve had troubles with Julia 1.7.1 on Windows 10, so just now I downloaded and installed 1.7.2 - as a user, and checked “Add Julia to PATH” as recommended.

The first thing was to add a package or two:

`Pkg> add "LinearAlgebra"`

This started off OK, then suddenly crashed. And now I can’t start Julia at all. Attempts simply produce the popup window:

`"Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item."`

I get the same error if I run as administrator.

I see that a previous similar issue was related to the antivirus software CIsco Secure Endpoint, except that in my case Julia is not listed as a quarantined file - and in any case the file is still in its directory, it just refuses to be opened.

Any help would be gratefully received! Thank you.

---

<div class="post-metadata">

### Author: ![lawless-m](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lawless-m/32/30869_2.png) [@lawless-m](https://discourse.julialang.org/u/lawless-m)
#### Post date: [April 7, 2022, 9:12am UTC](https://discourse.julialang.org/t/julia-crashes-with-new-installation-on-installing-a-package/79150/2 "2022-04-07T09:12:47Z")

</div>

Just for reference : it’s all fine when I try it

```julia
$ mkdir la
$ cd la
$ julia --project=.
               _
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.7.2 (2022-02-06)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

(la) pkg> add "LinearAlgebra"
  Installing known registries into `C:\Users\lenovo\.julia`
    Updating registry at `C:\Users\lenovo\.julia\registries\General.toml`
   Resolving package versions...
    Updating `C:\Users\lenovo\la\Project.toml`
  [37e2e46d] + LinearAlgebra
    Updating `C:\Users\lenovo\la\Manifest.toml`
  [56f22d72] + Artifacts
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [e66e0078] + CompilerSupportLibraries_jll
  [4536629a] + OpenBLAS_jll
  [8e850b90] + libblastrampoline_jll
Precompiling project...
  3 dependencies successfully precompiled in 2 seconds

(la) pkg>

```

---

<div class="post-metadata">

### Author: ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)
#### Post date: [April 7, 2022, 9:17am UTC](https://discourse.julialang.org/t/julia-crashes-with-new-installation-on-installing-a-package/79150/3 "2022-04-07T09:17:21Z")

</div>

> [@amca01](#):
>
> I see that a previous similar issue was related to the antivirus software CIsco Secure Endpoint, except that in my case Julia is not listed as a quarantined file - and in any case the file is still in its directory, it just refuses to be opened.

If this is a business computer (as I assume) you should probably talk to your system administrator if what you are doing is supported?

---

<div class="post-metadata">

### Author: ![MA\_Laforge](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ma_laforge/32/385_2.png) [@MA\_Laforge](https://discourse.julialang.org/u/MA_Laforge)
#### Post date: [May 18, 2023, 3:36am UTC](https://discourse.julialang.org/t/julia-crashes-with-new-installation-on-installing-a-package/79150/4 "2023-05-18T03:36:07Z")

</div>

If the problem was caused by some anti-virus/malware protection software, you might want to try the following solution:  
(link to other thread)

> [@Very strange problems installing on win10](https://discourse.julialang.org/t/very-strange-problems-installing-on-win10/77416/11):
>
> WSL: A possible Windows “solution”/workaround I recently tried installing Julia-for-Linux-on-Windows (using the Windows Subsystem for Linux). It worked! (Windows 11 / WSL:Debian / Julia 1.9.0 ) — and quite well, I must add: WSL integration is seamless within Windows (though the WSL installation itself is not) As an added benefit: WSL installations create a “.vhdx” virtual disk with an EXT4 partition (at least mine did at the time of writing). I would bet file operations have a real likelih…
