# Unable to install IJulia package

**URL:** <https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163>\
**Category:** General Usage\
**Tags:** package\
**Created:** [February 6, 2023, 8:59pm UTC](https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163 "2023-02-06T20:59:05Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![snowzone5](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/snowzone5/32/46617_2.png) [@snowzone5](https://discourse.julialang.org/u/snowzone5)\
**Post date:** [February 6, 2023, 8:59pm UTC](https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163/1 "2023-02-06T20:59:05Z")

</div>

Apologies if this is the wrong area.

I was directed here from the IJulia Github page (I got it wrong there also)

I am unable install IJulia on Windows 10.

Please let me know if I should continue or this topic should move to a different area.

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [February 6, 2023, 9:03pm UTC](https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163/2 "2023-02-06T21:03:52Z")

</div>

Welcome to the discourse forum!

Which Julia version do you use?  
What did you try and which error message do you get?

---

<div class="post-metadata">

**Author:** ![snowzone5](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/snowzone5/32/46617_2.png) [@snowzone5](https://discourse.julialang.org/u/snowzone5)\
**Post date:** [February 6, 2023, 9:05pm UTC](https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163/3 "2023-02-06T21:05:20Z")

</div>

in a Julia console:

Julia 1.8.5

using Pkg  
Pkg.add(“IJulia”)

Very long out put after that, is there a place to post that (ie. not here?)

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [February 6, 2023, 9:07pm UTC](https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163/4 "2023-02-06T21:07:13Z")

</div>

Do you have a clean environment?  
What is the output of:

```julia
using Pkg
Pkg.status()

```

---

<div class="post-metadata">

**Author:** ![snowzone5](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/snowzone5/32/46617_2.png) [@snowzone5](https://discourse.julialang.org/u/snowzone5)\
**Post date:** [February 6, 2023, 9:08pm UTC](https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163/5 "2023-02-06T21:08:12Z")

</div>

It’s a fresh install. That was the first package I tried to install.

julia\> using Pkg

julia\> Pkg.status()  
Status `C:\Users\snowz\.julia\environments\v1.8\Project.toml` (empty project)

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [February 6, 2023, 9:15pm UTC](https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163/6 "2023-02-06T21:15:13Z")

</div>

I just tried it myself, add it worked without any issues. So if it causes issues for you we need to see the error message. If it is long, can you copy it into a .txt file and attach that file to your message?

Also interesting would be the output of:

```julia
versioninfo()

```

and the amount of RAM and free disc space you have…

```julia
julia> using Pkg

julia> Pkg.status()
Status `C:\Users\ufechner\.julia\environments\v1.8\Project.toml` (empty project)

julia> Pkg.add("IJulia")
    Updating registry at `C:\Users\ufechner\.julia\registries\General`
    Updating git-repo `https://github.com/JuliaRegistries/General.git`
   Resolving package versions...
    Updating `C:\Users\ufechner\.julia\environments\v1.8\Project.toml`
  [7073ff75] + IJulia v1.24.0
    Updating `C:\Users\ufechner\.julia\environments\v1.8\Manifest.toml`
  [8f4d0f93] + Conda v1.7.0
  [7073ff75] + IJulia v1.24.0
  [692b3bcd] + JLLWrappers v1.4.1
  [682c06a0] + JSON v0.21.3
  [739be429] + MbedTLS v1.1.7
  [69de0a69] + Parsers v2.5.4
  [21216c6a] + Preferences v1.3.0
  [66db9d55] + SnoopPrecompile v1.0.3
  [b85f4697] + SoftGlobalScope v1.1.0
  [81def892] + VersionParsing v1.3.0
  [c2297ded] + ZMQ v1.2.2
  [8f1865be] + ZeroMQ_jll v4.3.4+0
  [a9144af2] + libsodium_jll v1.0.20+0
  [0dad84c5] + ArgTools v1.1.1
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [f43a241f] + Downloads v1.6.0
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [b27032c2] + LibCURL v0.6.3
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [a63ad114] + Mmap
  [ca575930] + NetworkOptions v1.2.0
  [44cfe95a] + Pkg v1.8.0
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [fa267f1f] + TOML v1.0.0
  [a4e569a6] + Tar v1.10.1
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [deac9b47] + LibCURL_jll v7.84.0+0
  [29816b5a] + LibSSH2_jll v1.10.2+0
  [c8ffd9c3] + MbedTLS_jll v2.28.0+0
  [14a3606d] + MozillaCACerts_jll v2022.2.1
  [83775a58] + Zlib_jll v1.2.12+3
  [8e850ede] + nghttp2_jll v1.48.0+0
  [3f19e933] + p7zip_jll v17.4.0+0
Precompiling project...
  16 dependencies successfully precompiled in 16 seconds

julia>

```

---

<div class="post-metadata">

**Author:** ![snowzone5](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/snowzone5/32/46617_2.png) [@snowzone5](https://discourse.julialang.org/u/snowzone5)\
**Post date:** [February 6, 2023, 9:23pm UTC](https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163/7 "2023-02-06T21:23:23Z")

</div>

Site wont’ let me upload a .txt file. So jpg is attached.

julia\> versioninfo()  
Julia Version 1.8.5  
Commit 17cfb8e65e (2023-01-08 06:45 UTC)  
Platform Info:  
OS: Windows (x86\_64-w64-mingw32)  
CPU: 12 × Intel(R) Core™ i7-4930K CPU @ 3.40GHz  
WORD\_SIZE: 64  
LIBM: libopenlibm  
LLVM: libLLVM-13.0.1 (ORCJIT, ivybridge)  
Threads: 1 on 12 virtual cores

 ![image](https://global.discourse-cdn.com/julialang/original/3X/f/5/f51f006e269a2c64a47d586411461b567559b1ed.png)

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [February 6, 2023, 9:31pm UTC](https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163/8 "2023-02-06T21:31:08Z")

</div>

Well, that is an error that is not so easy to understand. Perhaps someone more experienced could have a look?

I can only guess:

- is sys.dll corrupted?
- a virus scanner deleted a file?
- missing access permissions?

---

<div class="post-metadata">

**Author:** ![snowzone5](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/snowzone5/32/46617_2.png) [@snowzone5](https://discourse.julialang.org/u/snowzone5)\
**Post date:** [February 6, 2023, 9:32pm UTC](https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163/9 "2023-02-06T21:32:21Z")

</div>

Hmm, virus scanner. Let me disable mine and try again with a fresh install.

I have admin access to this computer but as you can see i’m trying to install in a local profile.

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [February 6, 2023, 9:33pm UTC](https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163/10 "2023-02-06T21:33:38Z")

</div>

For Julia there is normally NO need to be adminstrator, just try to do everything as normal user…

---

<div class="post-metadata">

**Author:** ![snowzone5](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/snowzone5/32/46617_2.png) [@snowzone5](https://discourse.julialang.org/u/snowzone5)\
**Post date:** [February 6, 2023, 9:40pm UTC](https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163/11 "2023-02-06T21:40:39Z")

</div>

Ok. virus checker disabled.

Slightly different error this time. Attached.

 ![julia-err3](https://global.discourse-cdn.com/julialang/original/3X/3/9/39be8fe18a39ad3de5831a97bffbae674b364a1f.png)

---

<div class="post-metadata">

**Author:** ![snowzone5](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/snowzone5/32/46617_2.png) [@snowzone5](https://discourse.julialang.org/u/snowzone5)\
**Post date:** [February 6, 2023, 9:44pm UTC](https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163/12 "2023-02-06T21:44:56Z")

</div>

I’ve tried a few other things.

I read in a forum (can’t recall where now) that deleting the General registry worked for those getting a similar error, but not for me.

I DO have WSL installed and I have IJulia installed in that, and Jupyter notebooks with it work as expected.

It’s only Windows 10 where it’s not working. For me anyway 🙂

---

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [February 6, 2023, 9:53pm UTC](https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163/13 "2023-02-06T21:53:06Z")

</div>

Your problem seems to be this issue (found by googling the relevant parts of the error message: `"EXCEPTION_ACCESS_VIOLATION" "fs__chmod"`): [add package crashes with Exception violation when I try to `add` any package · Issue #41642 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/issues/41642)

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [February 6, 2023, 9:59pm UTC](https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163/14 "2023-02-06T21:59:29Z")

</div>

The only other thing you could try is to use an older Julia version, e.g. 1.8.3 to find out if this bug is specific to 1.8.5.

The problem with Windows is that exactly the same Windows version can have different system .dlls installed…

---

<div class="post-metadata">

**Author:** ![snowzone5](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/snowzone5/32/46617_2.png) [@snowzone5](https://discourse.julialang.org/u/snowzone5)\
**Post date:** [February 6, 2023, 10:01pm UTC](https://discourse.julialang.org/t/unable-to-install-ijulia-package/94163/15 "2023-02-06T22:01:25Z")

</div>

I believe I have solved the issue.

I use a ramdisk, with only 4gb of space (I can change the size at will).

I changed my env variables for the tmp/temp directory back to a data drive, and the package installed flawlessly (and worked with a Jupyter notebook.)

I am guess that the temp space needed is fairly large.

Really want to thank those who replied. Now I can go on to converting my Mathematica programs.
