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

On Friday, July 31, 2015 at 7:04:33 PM UTC-4, Serge Santos wrote:

> 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)
>
> On Friday, 31 July 2015 23:18:17 UTC+1, Isaiah wrote:
>
>> What is the output of (in the REPL only, not Juno):
>> Pkg.dir()
>> ENV["HOME"]
>>
>>
>> On Fri, Jul 31, 2015 at 3:52 PM, Serge Santos <[email protected]> 
>> wrote:
>>
>>> 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?
>>>
>>
>>

Reply via email to