C:\Users\Richard\AppData\Local\Temp\apm-install-dir-119714-16820-1ytfkky.r1yj\node_modules\julia-client\node_modules@pfitzseb\node-pty-prebuilt>if not defined npm_config_node_gyp (node “C:\Users\Richard\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\…..\node_modules\node-gyp\bin\node-gyp.js” rebuild ) else (node “C:\Users\Richard\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” rebuild )
prebuild-install WARN install No prebuilt binaries found (target=3.1.10 runtime=node 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\Richard\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\configure.js:492:19)
gyp ERR! stack at PythonFinder. (C:\Users\Richard\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\configure.js:517:16)
gyp ERR! stack at C:\Users\Richard\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:182:21)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command “C:\Users\Richard\AppData\Local\atom\app-1.40.0\resources\app\apm\bin\node.exe” “C:\Users\Richard\AppData\Local\atom\app-1.40.0\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js” “rebuild”
gyp ERR! cwd C:\Users\Richard\AppData\Local\Temp\apm-install-dir-119714-16820-1ytfkky.r1yj\node_modules\julia-client\node_modules@pfitzseb\node-pty-prebuilt
gyp ERR! node -v v10.2.1
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open ‘C:\Users\Richard\AppData\Local\Temp\apm-install-dir-119714-16820-1ytfkky.r1yj\package.json’
npm WARN apm-install-dir-119714-16820-1ytfkky.r1yj No description
npm WARN apm-install-dir-119714-16820-1ytfkky.r1yj No repository field.
npm WARN apm-install-dir-119714-16820-1ytfkky.r1yj No README data
npm WARN apm-install-dir-119714-16820-1ytfkky.r1yj No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 install: prebuild-install || node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @pfitzseb/node-pty-prebuilt@0.8.1-prebuilt3 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\Richard.atom.apm_logs\2019-08-14T20_46_55_510Z-debug.log
Pardon my beginner question, but where do I find vim /usr/local/bin/apm ? When I search it opens a command prompt file, but it does not include export npm_config_python="${binDir}/python-interceptor.sh".
Unfortunately it seems that Julia client installation has been broken for a while. While Juno is still officially in maintenance mode I believe, I don’t think it’s reasonable to expect much work to go into it in future - MS has decided to “sunset” Atom in about four weeks:
I see (Issues · JunoLab/Juno.jl · GitHub) that people are still trying to install and run Juno/Atom. Perhaps they’re following some older documentation or course material. Might be the excellent YouTube tutorials from the Dabbling Doggo. Or they visit the main page and see the message that effectively says"Juno/Atom is still maintained, although we’'ll only fix bugs".
Should that message should now be changed to communicate: “Juno/Atom is longer supported or maintained, and you shouldn’t try to install it on versions of Julia after 1.6…” or something similar. Add a bigger notice somewhere? A warning during the install? Remove from registry? I don’t know.
But Ii’s not good for new users, and a less than pleasant introduction to Julia for them, to spend hours trying to install a package that most likely can’t be used…
It’s unlikely I’ll spend any effort on getting Juno running on the latest Atom release, given that
Atom package management will stop working
after the sunset, which will make the whole endeavour pointless. It’s probably easiest if users downgrade their Atom version, after which Juno installation should work fine (for the next few weeks, that is).
I’ll probably end up archiving the relevant repos after putting in a more obvious redirect pointing to the VS Code extension.