# Atom 1.39 won't build julia-client

**URL:** <https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696>\
**Category:** Juno\
**Created:** [July 23, 2019, 6:10pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696 "2019-07-23T18:10:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabehassler](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gabehassler/32/13848_2.png) [@gabehassler](https://discourse.julialang.org/u/gabehassler)\
**Post date:** [July 23, 2019, 6:10pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/1 "2019-07-23T18:10:47Z")

</div>

Atom auto-updated from 1.38 to 1.39 this morning. When I started it, it sent me a message saying a needed to rebuild some out-of-date packages. I followed the prompt to rebuild, but it failed (sorry, I didn’t save the exact error message). I uninstalled all the Julia associated packages and tried to re-install them using uber-juno. I get the following error message:

"Juno: Error installing package julia-client

Please check your internet connection, or report this to  
[http://discuss.junolab.org](http://discuss.junolab.org)  
and we’ll try to help.  
–––  
Error: Installing “julia-client@0.8.10” failed."

I’m running Julia 1.1.1 on a Windows 10 machine. My internet connection is fine. Is anyone else experiencing this issue?

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [July 23, 2019, 6:24pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/2 "2019-07-23T18:24:40Z")

</div>

Shoot, same here.

```julia
prebuild-install WARN install No prebuilt binaries found (target=3.1.10 runtime=electron arch=x64 libc= platform=win32)
gyp ERR! configure error 
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Users\PetrKrysl\AppData\Local\atom\app-1.39.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\configure.js:492:19)
gyp ERR! stack at PythonFinder.<anonymous> (C:\Users\PetrKrysl\AppData\Local\atom\app-1.39.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\configure.js:517:16)
gyp ERR! stack at C:\Users\PetrKrysl\AppData\Local\atom\app-1.39.0\resources\app\apm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\\Users\\PetrKrysl\\AppData\\Local\\atom\\app-1.39.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\PetrKrysl\\AppData\\Local\\atom\\app-1.39.0\\resources\\app\\apm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--build_v8_with_gn=false"
gyp ERR! cwd C:\Users\PetrKrysl\.atom\packages\julia-client\node_modules\node-pty-prebuilt
gyp ERR! node -v v8.9.3
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-pty-prebuilt@0.7.6 install: `prebuild-install || node scripts/install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the node-pty-prebuilt@0.7.6 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\PetrKrysl\.atom\.apm\_logs\2019-07-23T18_23_35_204Z-debug.log

```

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [July 23, 2019, 6:31pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/3 "2019-07-23T18:31:25Z")

</div>

Yeah, I’m on it. Will try to release a patch as soon as possible, but am a bit tied up with JuliaCon…

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [July 23, 2019, 6:41pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/4 "2019-07-23T18:41:45Z")

</div>

No worries 😊

---

<div class="post-metadata">

**Author:** ![Egwene\_al\_Vere](https://avatars.discourse-cdn.com/v4/letter/e/df788c/32.png) [@Egwene\_al\_Vere](https://discourse.julialang.org/u/Egwene_al_Vere)\
**Post date:** [July 23, 2019, 7:09pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/5 "2019-07-23T19:09:22Z")

</div>

The error I get is that atom detected python 3, but Juno uses gyp, which only supports python2. One way around this until it gets patched is to:

In **terminal** :

- set the PATH variable so that `python` points to your python2
- run `apm install julia-client`
- then run `atom`
- (inside atom gui, you may need the env-from-shell plugin to make atom see the PATH variable, activate by cmd-p [Command Palette\> env-from-shell:copy])

The rebuild will then run.

---

<div class="post-metadata">

**Author:** ![aristos](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@aristos](https://discourse.julialang.org/u/aristos)\
**Post date:** [July 23, 2019, 8:16pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/6 "2019-07-23T20:16:30Z")

</div>

I basically can never upgrade julia to use with Atom!

I had julia v0.6 and it was working fine with Atom 1.39.  
I installed v0.7, then all the Julia menu options disappeared. I simply changed the julia destination in julia-client package settings, nothing happened. I unistalled julia-client, tried to install again, I get the python error.  
I only seem to have Python36-32 and the error:

```julia
gyp ERR! stack Error: Can't find Python executable "C:\Users\Aristeidis\AppData\Local\Programs\Python\Python36-32\python.EXE", you can set the PYTHON env variable.

```

is asking for a file that exists!  
If gyp cannot see python3 (if 36-32 is python3), then why was it working before with julia v0.6?

Last time I upgraded julia from v0.4 to v0.6, nothing worked again, I had to uninstall everything.

Thank you for the help in advance.

---

<div class="post-metadata">

**Author:** ![twadleigh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/twadleigh/32/22778_2.png) [@twadleigh](https://discourse.julialang.org/u/twadleigh)\
**Post date:** [July 24, 2019, 3:05am UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/7 "2019-07-24T03:05:13Z")

</div>

Making sure a python2 was found first on the path in the environment in which I started Atom was enough to get things to rebuild successfully. Thanks for the tip.

---

<div class="post-metadata">

**Author:** ![SonLe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sonle/32/9507_2.png) [@SonLe](https://discourse.julialang.org/u/SonLe)\
**Post date:** [July 24, 2019, 12:57pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/8 "2019-07-24T12:57:16Z")

</div>

I also encounter this bug today which seems so weird. With the old version of Atom, everything work fine. Hope it could be fixed soon.

---

<div class="post-metadata">

**Author:** ![Andrzej\_Ceglowski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andrzej_ceglowski/32/7869_2.png) [@Andrzej\_Ceglowski](https://discourse.julialang.org/u/Andrzej_Ceglowski)\
**Post date:** [July 24, 2019, 1:05pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/9 "2019-07-24T13:05:58Z")

</div>

Identical issue to OP. Installed updates and lost Julia.

---

<div class="post-metadata">

**Author:** ![Ahmed\_Salih](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ahmed_salih/32/206579_2.png) [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Post date:** [July 24, 2019, 1:55pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/10 "2019-07-24T13:55:04Z")

</div>

Same issue here 🙂

---

<div class="post-metadata">

**Author:** ![filipebraida](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/filipebraida/32/861_2.png) [@filipebraida](https://discourse.julialang.org/u/filipebraida)\
**Post date:** [July 24, 2019, 1:57pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/11 "2019-07-24T13:57:47Z")

</div>

Same issue here. I remove my configuration folder and try to install the package.

I get other error message:

`/snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.28' not found (required by ~/.atom/packages/julia-client/node_modules/node-pty-prebuilt/build/Release/pty.node)`

---

<div class="post-metadata">

**Author:** ![asprionj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/asprionj/32/6856_2.png) [@asprionj](https://discourse.julialang.org/u/asprionj)\
**Post date:** [July 24, 2019, 2:16pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/12 "2019-07-24T14:16:36Z")

</div>

Hi, it’s a problem with the versions of some dependencies, see [this issue](https://github.com/JunoLab/Juno.jl/issues/332). Happened to me as well. Simple and quick solution, without any cost for reverting it once it’s fixed:

You can just download the ZIP version (e.g. atom-windows.zip) of Atom from [release 1.38.2](https://github.com/atom/atom/releases/tag/v1.38.2), unzip it somehwere and run atom.exe. It will use your config (packages, settings, etc.) as a “native” installation, but not auto-update itself 😉

And, once the problem is fixed, you can switch back to your actually installed Atom without re-installing anything.

---

<div class="post-metadata">

**Author:** ![harshvj](https://avatars.discourse-cdn.com/v4/letter/h/919ad9/32.png) [@harshvj](https://discourse.julialang.org/u/harshvj)\
**Post date:** [July 24, 2019, 4:39pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/13 "2019-07-24T16:39:56Z")

</div>

Hi, I tried your fix but it didnt work for me. The julia tool bar doesnt show up on the left anymore, and when i select the packages drop down menu, julia or juno dont show even though it says everything installed successfully

---

<div class="post-metadata">

**Author:** ![hei06j](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hei06j/32/20360_2.png) [@hei06j](https://discourse.julialang.org/u/hei06j)\
**Post date:** [July 24, 2019, 11:27pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/14 "2019-07-24T23:27:33Z")

</div>

Same issue here,

---

<div class="post-metadata">

**Author:** ![bionicinnovations](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bionicinnovations/32/6065_2.png) [@bionicinnovations](https://discourse.julialang.org/u/bionicinnovations)\
**Post date:** [July 24, 2019, 11:46pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/15 "2019-07-24T23:46:03Z")

</div>

I had to go though my hard drive and remove several folders belonging to Atom, they don’t remove on an uninstall.

The fix by asprionj seems better because its a standalone version (if I understand correctly).

---

<div class="post-metadata">

**Author:** ![harshvj](https://avatars.discourse-cdn.com/v4/letter/h/919ad9/32.png) [@harshvj](https://discourse.julialang.org/u/harshvj)\
**Post date:** [July 25, 2019, 1:32pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/17 "2019-07-25T13:32:55Z")

</div>

So I had done that on my work desktop, didnt work. but with foresight, when I got home, i didnt start up Atom, not giving it the chance to update itself, but applied asprionj’s fix and it worked. so im sticking with that (and running my code from home) until ‘they’ fix Atom 1.39

---

<div class="post-metadata">

**Author:** ![Rouzaire](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@Rouzaire](https://discourse.julialang.org/u/Rouzaire)\
**Post date:** [July 25, 2019, 4:28pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/18 "2019-07-25T16:28:13Z")

</div>

I followed your instructions, but julia client isn’t installed/built on this “version” and therefore I cannot run my code. Did I miss something ?

---

<div class="post-metadata">

**Author:** ![asprionj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/asprionj/32/6856_2.png) [@asprionj](https://discourse.julialang.org/u/asprionj)\
**Post date:** [July 25, 2019, 9:23pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/19 "2019-07-25T21:23:44Z")

</div>

No, you didn’t miss anything. This worked straight ahead for me. Sorry, can’t help you much since I cannot reproduce your situation. What happens if you remove and re-install julia client (or entire uber-juno)…?

---

<div class="post-metadata">

**Author:** ![HarryG](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@HarryG](https://discourse.julialang.org/u/HarryG)\
**Post date:** [July 26, 2019, 5:32pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/20 "2019-07-26T17:32:32Z")

</div>

[Obsolete now; the issue is solved, see below.]

The only workaround that works for me so far (on macOS 10.14.6) is to

1. completely uninstall Atom 1.39.1, including ~/.atom;
2. install Atom 1.38.2 from here: [https://github.com/atom/atom/releases/tag/v1.38.2](https://github.com/atom/atom/releases/tag/v1.38.2);
3. go to Preferences and reinstall uber-juno until the error message for julia-client occurs;
4. then, in the Terminal, run: apm install julia-client@0.8.9;
5. and deactive the auto-update until the issue will be fixed. :o)

Trying to install julia-client 0.8.12-alpha immediately crashes Atom 1.39.1.

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [July 26, 2019, 10:05pm UTC](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696/21 "2019-07-26T22:05:27Z")

</div>

Alright, I got a couple reports that julia-client@0.8.12-beta2 works fine on MacOS (as well as on Windows and Linux).

Sorry for the trouble!

[Next page](https://discourse.julialang.org/t/atom-1-39-wont-build-julia-client/26696.md?page=2)
