# Installing Julia/Atom/Juno on Corporate Machine

**URL:** <https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670>\
**Category:** New to Julia\
**Tags:** question, juno\
**Created:** [January 24, 2017, 9:24pm UTC](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670 "2017-01-24T21:24:58Z")\
**Posts on this page:** 15\
**Page:** 2

<div class="post-metadata">

**Author:** ![greg\_plowman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/greg_plowman/32/8100_2.png) [@greg\_plowman](https://discourse.julialang.org/u/greg_plowman)\
**Post date:** [January 30, 2017, 3:03pm UTC](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670/21 "2017-01-30T15:03:11Z")

</div>

> [@wvcaudill2](#):
>
> was again presented with the HttpParser error

Could you post the full error message?

---

<div class="post-metadata">

**Author:** ![wvcaudill2](https://avatars.discourse-cdn.com/v4/letter/w/90ced4/32.png) [@wvcaudill2](https://discourse.julialang.org/u/wvcaudill2)\
**Post date:** [January 30, 2017, 3:50pm UTC](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670/22 "2017-01-30T15:50:38Z")

</div>

```julia
ERROR: SystemError: opening file H:\.julia_history: No such file or directory
 in #systemerror#51 at .\error.jl:34 [inlined]
 in systemerror(::String, ::Bool) at .\error.jl:34
 in open(::String, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at .\iostream.jl:89
 in #setup_interface#30(::Bool, ::Array{Dict{Any,Any},1}, ::Function, ::Base.REP
L.LineEditREPL) at .\REPL.jl:769
 in run_frontend(::Base.REPL.LineEditREPL, ::Base.REPL.REPLBackendRef) at .\REPL
.jl:898
 in run_repl(::Base.REPL.LineEditREPL, ::Base.##932#933) at .\REPL.jl:188
 in _start() at .\client.jl:360

INFO: Disabling history file for this session.
julia> Pkg.build("HttpParser")
INFO: Building HttpParser
INFO: Attempting to Create directory C:\Users\caudaus1\.julia\v0.5\HttpParser\de
ps\downloads
INFO: Directory C:\Users\caudaus1\.julia\v0.5\HttpParser\deps\downloads already
created
INFO: Downloading file https://s3.amazonaws.com/julialang/bin/winnt/extras/libht
tp_parser_2_7_1.zip
INFO: Done downloading file https://s3.amazonaws.com/julialang/bin/winnt/extras/
libhttp_parser_2_7_1.zip
INFO: Attempting to Create directory C:\Users\caudaus1\.julia\v0.5\HttpParser
INFO: Directory C:\Users\caudaus1\.julia\v0.5\HttpParser already created
=============================[ERROR: HttpParser]==============================

LoadError: could not spawn `7z x 'C:\Users\caudaus1\.julia\v0.5\HttpParser\deps\
downloads\libhttp_parser_2_7_1.zip' -y '-oC:\Users\caudaus1\.julia\v0.5\HttpPars
er\deps'`: no such file or directory (ENOENT)
while loading C:\Users\caudaus1\.julia\v0.5\HttpParser\deps\build.jl, in express
ion starting on line 71

================================================================================

================================[BUILD ERRORS]================================

WARNING: HttpParser had build errors.

 - packages with build errors remain installed in C:\Users\caudaus1\.julia\v0.5
 - build the package(s) and all dependencies with `Pkg.build("HttpParser")`
 - build a single package by running its `deps/build.jl` script

================================================================================

```

---

<div class="post-metadata">

**Author:** ![greg\_plowman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/greg_plowman/32/8100_2.png) [@greg\_plowman](https://discourse.julialang.org/u/greg_plowman)\
**Post date:** [January 30, 2017, 8:16pm UTC](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670/23 "2017-01-30T20:16:04Z")

</div>

> [@wvcaudill2](#):
>
> LoadError: could not spawn `7z x 'C:\Users\caudaus1\.julia\v0.5\HttpParser\deps\ downloads\libhttp_parser_2_7_1.zip' -y '-oC:\Users\caudaus1\.julia\v0.5\HttpPars er\deps'`: no such file or directory (ENOENT)  
> while loading C:\Users\caudaus1.julia\v0.5\HttpParser\deps\build.jl, in express  
> ion starting on line 71

Looks like `HttpParser` has a zipped dependency and `build.jl` is trying unzip it using `7z`.

Try installing 7-Zip: [http://www.7-zip.org/](http://www.7-zip.org/)

---

<div class="post-metadata">

**Author:** ![greg\_plowman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/greg_plowman/32/8100_2.png) [@greg\_plowman](https://discourse.julialang.org/u/greg_plowman)\
**Post date:** [January 30, 2017, 9:03pm UTC](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670/24 "2017-01-30T21:03:09Z")

</div>

Actually `7-Zip` should come with the Julia installation.  
Check the `bin` sub-directory of Julia contains `7z.exe` and `7z.dll`  
For you the directory should be `C:\Users\caudaus1\AppData\Local\Julia-0.5.0\bin`  
Also check that this `bin` sub-directory is in your `PATH`. You can check by using `split(ENV["Path"], ';')`

---

<div class="post-metadata">

**Author:** ![wvcaudill2](https://avatars.discourse-cdn.com/v4/letter/w/90ced4/32.png) [@wvcaudill2](https://discourse.julialang.org/u/wvcaudill2)\
**Post date:** [January 30, 2017, 9:13pm UTC](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670/25 "2017-01-30T21:13:44Z")

</div>

The 7-zip files are in the bin folder.

Running the command `split(ENV["Path"], ';')` shows the following “bin” folder:

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

I believe this needs to be changed, how can I do this?

---

<div class="post-metadata">

**Author:** ![greg\_plowman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/greg_plowman/32/8100_2.png) [@greg\_plowman](https://discourse.julialang.org/u/greg_plowman)\
**Post date:** [January 30, 2017, 10:06pm UTC](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670/26 "2017-01-30T22:06:27Z")

</div>

Are you sure that’s the only entry in `Path`?  
What’s the first entry from `split(ENV["Path"], ';')`?  
What is the output of `ENV["Path"]`?

---

<div class="post-metadata">

**Author:** ![wvcaudill2](https://avatars.discourse-cdn.com/v4/letter/w/90ced4/32.png) [@wvcaudill2](https://discourse.julialang.org/u/wvcaudill2)\
**Post date:** [January 30, 2017, 10:08pm UTC](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670/27 "2017-01-30T22:08:08Z")

</div>

Here is the full output:

```julia
ERROR: SystemError: opening file H:\.julia_history: No such file or directory
 in #systemerror#51 at .\error.jl:34 [inlined]
 in systemerror(::String, ::Bool) at .\error.jl:34
 in open(::String, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at .\iostream.jl:89
 in #setup_interface#30(::Bool, ::Array{Dict{Any,Any},1}, ::Function, ::Base.REP
L.LineEditREPL) at .\REPL.jl:769
 in run_frontend(::Base.REPL.LineEditREPL, ::Base.REPL.REPLBackendRef) at .\REPL
.jl:898
 in run_repl(::Base.REPL.LineEditREPL, ::Base.##932#933) at .\REPL.jl:188
 in _start() at .\client.jl:360

INFO: Disabling history file for this session.
julia> split(ENV["Path"], ';')
22-element Array{SubString{String},1}:
 "C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common"
 "C:\\Program Files (x86)\\Intel\\iCLS Client\\"
 "C:\\Program Files\\Intel\\iCLS Client\\"
 "C:\\ProgramData\\Oracle\\Java\\javapath"
 "C:\\Windows\\system32"
 "C:\\Windows"
 "C:\\Windows\\System32\\Wbem"
 "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\"
 "C:\\Program Files (x86)\\Enterprise Vault\\EVClient\\"
 "C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL"
 ?
 "C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT"
 "C:\\Program Files (x86)\\Microsoft SQL Server\\80\\Tools\\Binn\\"
 "C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\"
 "C:\\Program Files (x86)\\Common Files\\AspenTech Shared\\"
 "C:\\Program Files (x86)\\Skype\\Phone\\"
 "C:\\Users\\caudaus1\\AppData\\Local\\Continuum\\Anaconda3"
 "C:\\Users\\caudaus1\\AppData\\Local\\Continuum\\Anaconda3\\Scripts"
 "C:\\Users\\caudaus1\\AppData\\Local\\Continuum\\Anaconda3\\Library\\bin"
 "AspenTech\\Aspen Hydraulics"
 "C:\\Users\\caudaus1\\AppData\\Local\\atom\\bin"

```

---

<div class="post-metadata">

**Author:** ![greg\_plowman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/greg_plowman/32/8100_2.png) [@greg\_plowman](https://discourse.julialang.org/u/greg_plowman)\
**Post date:** [January 30, 2017, 10:22pm UTC](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670/28 "2017-01-30T22:22:59Z")

</div>

You could try manually appending the Julia bin sub-directory (`C:\Users\caudaus1\AppData\Local\Julia-0.5.0\bin`) to the Windows environment variable `Path`.

However, this shouldn’t be necessary.  
Given you have had several errors, perhaps it’s better to start fresh and reinstall Julia.

---

<div class="post-metadata">

**Author:** ![wvcaudill2](https://avatars.discourse-cdn.com/v4/letter/w/90ced4/32.png) [@wvcaudill2](https://discourse.julialang.org/u/wvcaudill2)\
**Post date:** [January 30, 2017, 11:31pm UTC](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670/29 "2017-01-30T23:31:47Z")

</div>

I was beginning to think the same thing.

My concern is how to start fresh and do it right the first time. Bear in mind, I’ve attempted to reinstall Julia multiple times now with the same errors.

---

<div class="post-metadata">

**Author:** ![greg\_plowman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/greg_plowman/32/8100_2.png) [@greg\_plowman](https://discourse.julialang.org/u/greg_plowman)\
**Post date:** [January 30, 2017, 11:58pm UTC](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670/30 "2017-01-30T23:58:40Z")

</div>

I would suggest the following:

1. Remove Julia

- Remove via Control Panel
- Ensure Julia is actually removed from the file system `C:\Users\caudaus1\AppData\Local`
- Remove all Julia-related directories and files (.julia, .juliarc.jl etc)

1. Install Julia v0.5.0 standalone:

- Check Windows environment variable JULIA\_PKGDIR is set to local drive (say, `C:\Users\caudaus1\.julia`)
- Startup Julia and check
- Check `Pkg.dir()` is correct (`C:\Users\caudaus1\.julia\v0.5`)
- Check Julia bin sub-directory is in `Path` using `split(ENV["Path"], ';')`

1. Try `Pkg.add("HttpParser")`

---

<div class="post-metadata">

**Author:** ![tkelman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkelman/32/692_2.png) [@tkelman](https://discourse.julialang.org/u/tkelman)\
**Post date:** [January 31, 2017, 12:07am UTC](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670/31 "2017-01-31T00:07:37Z")

</div>

What are ENV[“HOME”], ENV[“HOMEDRIVE”], and ENV[“HOMEPATH”] set to, if anything?

---

<div class="post-metadata">

**Author:** ![wvcaudill2](https://avatars.discourse-cdn.com/v4/letter/w/90ced4/32.png) [@wvcaudill2](https://discourse.julialang.org/u/wvcaudill2)\
**Post date:** [January 31, 2017, 1:38pm UTC](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670/32 "2017-01-31T13:38:02Z")

</div>

@tkelman  
 ![](https://global.discourse-cdn.com/julialang/original/3X/e/c/ec7d47103effaf506aac572ebdfc5a325130f665.png)

@Paul_Soderlind  
I tried creating and running the bat file as you suggested. After starting Julia with the bat file, I tried to check the homedrive and again found it to be linked to my H: drive. I am not sure why Julia seems to be ignoring my attempts at setting this to the C drive.

---

<div class="post-metadata">

**Author:** ![MikeInnes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mikeinnes/32/3656_2.png) [@MikeInnes](https://discourse.julialang.org/u/MikeInnes)\
**Post date:** [February 1, 2017, 2:01pm UTC](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670/33 "2017-02-01T14:01:47Z")

</div>

You may wish to check out the [JuliaPro](https://discourse.julialang.org/t/ann-the-juliapro-distribution-by-julia-computing/1736) builds that were announced recently. Should be a one-click install and there’s no package build process to go wrong.

---

<div class="post-metadata">

**Author:** ![PeterNCL](https://avatars.discourse-cdn.com/v4/letter/p/51bf81/32.png) [@PeterNCL](https://discourse.julialang.org/u/PeterNCL)\
**Post date:** [October 23, 2018, 4:44pm UTC](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670/34 "2018-10-23T16:44:55Z")

</div>

For anyone trying to solve this, the following solution worked for me on Windows:

1. Create a new folder on your local drive: C:\Users\username\testBuild
2. In the main juliarc.jl file have the following:

ENV[“HOME”] = “C:\Users\username\Julia”  
ENV[“HOMEDRIVE”] = “C:\Users\username\Julia”  
ENV[“JULIA\_PKGDIR”] = “C:\Users\username\testBuild\.atom”  
ENV[“PATH”] = JULIA\_HOME\*“;“_joinpath(JULIA\_HOME,“…”,“Git”,“bin”)_”;”\*ENV[“PATH”]  
ENV[“HOMESHARE”] = “C:\Users\username”  
Base.LOAD\_CACHE\_PATH[1] = “C:\Users\username\.julia\v0.5”

1. Copy this file to the juliarc.jl file in Atom which can be found by going to Packages → Julia → Open Startup file.

2. Create the environment variable ATOM\_HOME = C:\username.atom (Not sure if this is needed, best to do it)

3. Create the environment variable HOME = C:\username.atom (Not sure if this is needed, best to do it)

4. In the Julia Terminal (Not through Atom), type Pkg.init() - wait for everything to be cloned.

5. Open Atom, type 1+1 into Julia and hopefully it should work.

\*This worked for me on Windows 7 and version 0.5 of Julia…

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [October 24, 2018, 6:13am UTC](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670/35 "2018-10-24T06:13:47Z")

</div>

> [@PeterNCL](#):
>
> version 0.5 of Julia

Note that this version is very, very old; very few packages (if any?) still support it. You are much better off using `v1.0.1`.

[Previous page](https://discourse.julialang.org/t/installing-julia-atom-juno-on-corporate-machine/1670.md?page=1)
