Discussion:
[julia-users] Juno couldn't connect Julia on Windows 10
Serge Santos
2015-07-31 19:52:30 UTC
Permalink
Hello,

I am fairly new to Julia, but it has already been a fantastic help for my
work so far. I just upgraded to Windows 10 and installed Julia and Juno.
Unfortunately Juno couldn't connect with Julia. I got the error message:

Couldn't connect to Julia

INFO: Couldn't find Jewel package, attempting installation...

-----------------------------------------------

We couldn't install Jewel.jl for you.

Try using Pkg.add("Jewel") in a Julia repl.

-----------------------------------------------

ERROR: unable to read directory METADATA: No error

in systemerror at error.jl:39 (repeats 2 times)

while loading
C:\Users\Serge\AppData\Local\juno-windows-x64\resources\app\plugins\Julia-LT\jl\init.jl,
in expression starting on line 33


I also tried Pkg.update() directly in REPL of Julia. I got the following
error message:


Julia> Pkg.update()

INFO: Updating METADATA


ERROR: chdir METADATA: no such file or directory <ENOENT>

In cd at file.jl:11 (repeat 2 times)


Any ideas what is going wrong?
Isaiah Norton
2015-07-31 22:18:13 UTC
Permalink
What is the output of (in the REPL only, not Juno):
Pkg.dir()
ENV["HOME"]
Post by Serge Santos
Hello,
I am fairly new to Julia, but it has already been a fantastic help for my
work so far. I just upgraded to Windows 10 and installed Julia and Juno.
Couldn't connect to Julia
INFO: Couldn't find Jewel package, attempting installation...
-----------------------------------------------
We couldn't install Jewel.jl for you.
Try using Pkg.add("Jewel") in a Julia repl.
-----------------------------------------------
ERROR: unable to read directory METADATA: No error
in systemerror at error.jl:39 (repeats 2 times)
while loading
C:\Users\Serge\AppData\Local\juno-windows-x64\resources\app\plugins\Julia-LT\jl\init.jl,
in expression starting on line 33
I also tried Pkg.update() directly in REPL of Julia. I got the following
Julia> Pkg.update()
INFO: Updating METADATA

ERROR: chdir METADATA: no such file or directory <ENOENT>
In cd at file.jl:11 (repeat 2 times)
Any ideas what is going wrong?
Serge Santos
2015-07-31 23:04:32 UTC
Permalink
The output is "C:\\Users\\Serge\\.Julia\\v0.3"

ENV["HOME"] gave me an error message (ERROR: key not found: "HOME" in
getindex at env.jl:57)
Post by Isaiah Norton
Pkg.dir()
ENV["HOME"]
Post by Serge Santos
Hello,
I am fairly new to Julia, but it has already been a fantastic help for my
work so far. I just upgraded to Windows 10 and installed Julia and Juno.
Couldn't connect to Julia
INFO: Couldn't find Jewel package, attempting installation...
-----------------------------------------------
We couldn't install Jewel.jl for you.
Try using Pkg.add("Jewel") in a Julia repl.
-----------------------------------------------
ERROR: unable to read directory METADATA: No error
in systemerror at error.jl:39 (repeats 2 times)
while loading
C:\Users\Serge\AppData\Local\juno-windows-x64\resources\app\plugins\Julia-LT\jl\init.jl,
in expression starting on line 33
I also tried Pkg.update() directly in REPL of Julia. I got the following
Julia> Pkg.update()
INFO: Updating METADATA

ERROR: chdir METADATA: no such file or directory <ENOENT>
In cd at file.jl:11 (repeat 2 times)
Any ideas what is going wrong?
Arch Call
2015-07-31 23:17:21 UTC
Permalink
I had the same error after upgrading to Windows 10.

Uninstall Julia and afterwards go into file explorer and physically delete
the .Julia folder and all its contents. I also deleted the .julia_history
file. Next reinstall Julia and you should be good to go...Arch
Post by Serge Santos
The output is "C:\\Users\\Serge\\.Julia\\v0.3"
ENV["HOME"] gave me an error message (ERROR: key not found: "HOME" in
getindex at env.jl:57)
Post by Isaiah Norton
Pkg.dir()
ENV["HOME"]
Post by Serge Santos
Hello,
I am fairly new to Julia, but it has already been a fantastic help for
my work so far. I just upgraded to Windows 10 and installed Julia and Juno.
Couldn't connect to Julia
INFO: Couldn't find Jewel package, attempting installation...
-----------------------------------------------
We couldn't install Jewel.jl for you.
Try using Pkg.add("Jewel") in a Julia repl.
-----------------------------------------------
ERROR: unable to read directory METADATA: No error
in systemerror at error.jl:39 (repeats 2 times)
while loading
C:\Users\Serge\AppData\Local\juno-windows-x64\resources\app\plugins\Julia-LT\jl\init.jl,
in expression starting on line 33
I also tried Pkg.update() directly in REPL of Julia. I got the following
Julia> Pkg.update()
INFO: Updating METADATA

ERROR: chdir METADATA: no such file or directory <ENOENT>
In cd at file.jl:11 (repeat 2 times)
Any ideas what is going wrong?
Serge Santos
2015-07-31 23:58:10 UTC
Permalink
Great. I did it and it is working now. Thank you so much!
Post by Arch Call
I had the same error after upgrading to Windows 10.
Uninstall Julia and afterwards go into file explorer and physically delete
the .Julia folder and all its contents. I also deleted the .julia_history
file. Next reinstall Julia and you should be good to go...Arch
Post by Serge Santos
The output is "C:\\Users\\Serge\\.Julia\\v0.3"
ENV["HOME"] gave me an error message (ERROR: key not found: "HOME" in
getindex at env.jl:57)
Post by Isaiah Norton
Pkg.dir()
ENV["HOME"]
Post by Serge Santos
Hello,
I am fairly new to Julia, but it has already been a fantastic help for
my work so far. I just upgraded to Windows 10 and installed Julia and Juno.
Couldn't connect to Julia
INFO: Couldn't find Jewel package, attempting installation...
-----------------------------------------------
We couldn't install Jewel.jl for you.
Try using Pkg.add("Jewel") in a Julia repl.
-----------------------------------------------
ERROR: unable to read directory METADATA: No error
in systemerror at error.jl:39 (repeats 2 times)
while loading
C:\Users\Serge\AppData\Local\juno-windows-x64\resources\app\plugins\Julia-LT\jl\init.jl,
in expression starting on line 33
I also tried Pkg.update() directly in REPL of Julia. I got the
Julia> Pkg.update()
INFO: Updating METADATA

ERROR: chdir METADATA: no such file or directory <ENOENT>
In cd at file.jl:11 (repeat 2 times)
Any ideas what is going wrong?
Continue reading on narkive:
Search results for '[julia-users] Juno couldn't connect Julia on Windows 10' (Questions and Answers)
33
replies
what is your all time favorite movie, what should i rent?
started 2008-08-13 12:42:47 UTC
movies
Loading...