{"action":"created","issue":{"url":"https://api.github.com/repos/nteract/hydrogen/issues/460","repository_url":"https://api.github.com/repos/nteract/hydrogen","labels_url":"https://api.github.com/repos/nteract/hydrogen/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/nteract/hydrogen/issues/460/comments","events_url":"https://api.github.com/repos/nteract/hydrogen/issues/460/events","html_url":"https://github.com/nteract/hydrogen/issues/460","id":180195643,"number":460,"title":"Questions about Installation","user":{"login":"pingshunhuangalex","id":17170199,"avatar_url":"https://avatars.githubusercontent.com/u/17170199?v=3","gravatar_id":"","url":"https://api.github.com/users/pingshunhuangalex","html_url":"https://github.com/pingshunhuangalex","followers_url":"https://api.github.com/users/pingshunhuangalex/followers","following_url":"https://api.github.com/users/pingshunhuangalex/following{/other_user}","gists_url":"https://api.github.com/users/pingshunhuangalex/gists{/gist_id}","starred_url":"https://api.github.com/users/pingshunhuangalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingshunhuangalex/subscriptions","organizations_url":"https://api.github.com/users/pingshunhuangalex/orgs","repos_url":"https://api.github.com/users/pingshunhuangalex/repos","events_url":"https://api.github.com/users/pingshunhuangalex/events{/privacy}","received_events_url":"https://api.github.com/users/pingshunhuangalex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-30T00:36:22Z","updated_at":"2016-09-30T17:30:54Z","closed_at":null,"body":"Hi\r\n\r\nI just started using Atom yesterday, and Hydrogen is exactly something I've been dreaming of for a long time. However, it's also one of the most confusing installation I've ever had. I really tried...\r\n\r\nPreviously, I had Anaconda3 as my default python3, I had a python2 virtualenv. I installed the 5G VS Community 2015, and tried to run:\r\n1. Everything in python 2 virtualenv. Failed. (node-gyp rebuild)\r\n2. Install python 2 and using command ```PYTHON=python2.7 apm install hydrogen```. Failed. (node-gyp rebuild)\r\n\r\nThen I saw the troubleshooting section saying I need exact VS 2013 changed using\r\n```apm config set msvs_version 2013 -g\r\nset GYP_MSVS_VERSION=2013```\r\nI tried, and then in ```apm --version``` VS doesn't have a year (version) after it, so I read again it means VS is not detected. I uninstalled everything, and read thing in https://github.com/nodejs/node-gyp#installation, saying you don't have to install the 5G things, you just need Visual C++ build tool. Ok, I did that again, no luck. (And then I read this thread. The guys said VS 2015 is fine... What?! https://github.com/nteract/hydrogen/issues/458)\r\n\r\nReading through trouble shooting again, ok we may need to set ```npm config set python /path/to/executable/python2.7``` and as well as ```apm config set python $(which python2.7)``` No luck again.\r\n\r\nI ran ```apm --version``` again, now both python and VS doesn't have a version number after them, meaning it can't detect either of them. I tried to set npm and apm back to python3, then it just breaks everything. ```apm --version``` just stops working. So I ended up achieving nothing yesterday and uninstall all my coding packages...\r\n\r\nSo, back to the question:\r\n1. I don't want to change python version ever again, I'll just follow exactly what you're asking for. I'm now downloading VS 2013. Will this solve my problem? So only installing the full package helps, install build tools or other methods won't. Am I correct?\r\n\r\n2. I have to install python 2 (hopefully anaconda 2 will work) as my default python. Tricks like PYTHON=python2.7 won't work. Am I correct?\r\n\r\n3. Does it mean, I can never upgrade my VS to 2015? Otherwise, I break everything?\r\n\r\n4. Is there anything I should know that can help me start to use this package?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/nteract/hydrogen/issues/comments/250804433","html_url":"https://github.com/nteract/hydrogen/issues/460#issuecomment-250804433","issue_url":"https://api.github.com/repos/nteract/hydrogen/issues/460","id":250804433,"user":{"login":"n-riesco","id":6199391,"avatar_url":"https://avatars.githubusercontent.com/u/6199391?v=3","gravatar_id":"","url":"https://api.github.com/users/n-riesco","html_url":"https://github.com/n-riesco","followers_url":"https://api.github.com/users/n-riesco/followers","following_url":"https://api.github.com/users/n-riesco/following{/other_user}","gists_url":"https://api.github.com/users/n-riesco/gists{/gist_id}","starred_url":"https://api.github.com/users/n-riesco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-riesco/subscriptions","organizations_url":"https://api.github.com/users/n-riesco/orgs","repos_url":"https://api.github.com/users/n-riesco/repos","events_url":"https://api.github.com/users/n-riesco/events{/privacy}","received_events_url":"https://api.github.com/users/n-riesco/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T17:30:53Z","updated_at":"2016-09-30T17:30:53Z","body":"On 30/09/16 18:21, Pingshun Huang wrote:\n> I did everything perfectly, and strictly following the instruction and troubleshooting, but still no luck. I'm out of methods. Please see the log below, somebody please help...\n> \n> |apm config list ; cli configs globalconfig = \"C:\\\\Users\\\\Pingshun Huang\\\\.atom\\\\.apm\\\\.apmrc\" user-agent = \"npm/3.10.5 node/v4.4.5 win32 ia32\" userconfig = \"C:\\\\Users\\\\Pingshun Huang\\\\.atom\\\\.apmrc\" ; userconfig C:\\Users\\Pingshun Huang\\.atom\\.apmrc GYP_MSVS_VERSION = \"2013\" msvs_version = \"2013\" ; globalconfig C:\\Users\\Pingshun Huang\\.atom\\.apm\\.apmrc cache = \"C:\\\\Users\\\\Pingshun Huang\\\\.atom\\\\.apm\" progress = false ; node bin location = C:\\Users\\Pingshun Huang\\AppData\\Local\\atom\\app-1.10.2\\resources\\app\\apm\\bin\\node.exe ; cwd = C:\\Users\\Pingshun Huang\\Desktop ; HOME = C:\\Users\\Pingshun Huang ; \"npm config ls -l\" to show all defaults. |\n> \n> |$ apm -v apm 1.12.5 npm 3.10.5 node 4.4.5 python 2.7.12 git 2.10.0.windows.1 visual studio 2015 |\n> \n> |$ apm install hydrogen Installing hydrogen to C:\\Users\\Pingshun Huang\\.atom\\packages failed > zmq@2.15.3 install C:\\Users\\PINGSH~1\\AppData\\Local\\Temp\\apm-install-dir-11691-11456-v4ild7\\node_modules\\Hydrogen\\node_modules\\zmq > node-gyp rebuild C:\\Users\\PINGSH~1\\AppData\\Local\\Temp\\apm-install-dir-11691-11456-v4ild7\\node_modules\\Hydrogen\\node_modules\\zmq>if not defined npm_config_node_gyp (node \"C:\\Users\\Pingshun Huang\\AppData\\Local\\atom\\app-1.10.2\\resources\\app\\apm\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild ) else (node \"\" rebuild ) C:\\Users\\PINGSH~1\\AppData\\Local\\Temp\\apm-install-dir-11691-11456-v4ild7 `-- (empty) module.js:327 throw err; ^ Error: Cannot find module 'C:\\Users\\Pingshun Huang\\AppData\\Local\\atom\\app-1.10.2\\resources\\app\\apm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js' at Function.Module._resolveFilename (module.js:325:15) at Function.Module._load (module.js:276:25) at Function.Module.runMain\n> (module.js:441:10) at startup (node.js:139:18) at node.js:968:3 npm WARN enoent ENOENT: no such file or directory, open 'C:\\Users\\PINGSH~1\\AppData\\Local\\Temp\\apm-install-dir-11691-11456-v4ild7\\package.json' npm WARN apm-install-dir-11691-11456-v4ild7 No description npm WARN apm-install-dir-11691-11456-v4ild7 No repository field. npm WARN apm-install-dir-11691-11456-v4ild7 No README data npm WARN apm-install-dir-11691-11456-v4ild7 No license field. npm ERR! Windows_NT 10.0.14393 npm ERR! argv \"C:\\\\Users\\\\Pingshun Huang\\\\AppData\\\\Local\\\\atom\\\\app-1.10.2\\\\resources\\\\app\\\\apm\\\\bin\\\\node.exe\" \"C:\\\\Users\\\\Pingshun Huang\\\\AppData\\\\Local\\\\atom\\\\app-1.10.2\\\\resources\\\\app\\\\apm\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"--globalconfig\" \"C:\\\\Users\\\\Pingshun Huang\\\\.atom\\\\.apm\\\\.apmrc\" \"--userconfig\" \"C:\\\\Users\\\\Pingshun Huang\\\\.atom\\\\.apmrc\" \"install\" \"C:\\\\Users\\\\PINGSH~1\\\\AppData\\\\Local\\\\Temp\\\\d-11691-11456-krlso9\\\\package.tgz\" \"--runtime=electron\" \"--target=0.37.8\" \"--arch=ia32\"\n> \"--global-style\" \"--msvs_version=2015\" npm ERR! node v4.4.5 npm ERR! npm v3.10.5 npm ERR! code ELIFECYCLE npm ERR! zmq@2.15.3 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the zmq@2.15.3 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the zmq package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs zmq npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls zmq npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! C:\\Users\\PINGSH~1\\AppData\\Local\\Temp\\apm-install-dir-11691-11456-v4ild7\\npm-debug.log npm ERR! code 1 |\n\n\nAtom sees an installation of Visual Studio 2015 (note that, by default, Visual Studio 2015 doesn't install a C++ compiler). Please, see my comment here:\n\nhttps://github.com/nteract/hydrogen/issues/458#issuecomment-250800146\n\n"}}
{"actor":{"display_login":"n-riesco"}}