-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation error on Windows: zeromq@5.1.0 install #1689
Comments
Could you give me what |
apm 2.1.7 |
Seems fine. Can you try to reinstall with python 3 ? |
Python 2 has so known issues with hydrogen you can search all our issues to see info about it. Also just note that 2.10.2 is the latest version of hydrogen. |
I use Python 3 but I am using Python 2 for the installation as I otherwise get the same issues as in #1431. Regarding the version, I get the same results with 2.10.2. I cannot seem to specify a specific version in apm, sadly, as this feature is still WIP (PR: atom/apm#773), but I remember having managed to install Hydrogen 2.6.0 (using Python 2) on the same system. This error happens either when updating, or on a fresh install. |
Just a quick question. When you launch atom are you able to run any hydrogen commands and get the red bug as described in our troubleshooting guide? |
I recommend reading nodejs/node-gyp#1337 and nodejs/node-gyp#1268. They both seem to have work arounds for now. Seems like gyp needs to update from Python 2.7 but seems like they don't want/care to. Also where they reference things like |
Most workarounds in those issues involve the use of Python 2. I seem to successfully do that in my case (original log in the first post), and I still get that error. I have found a similar issue: #1352, but the solution does not work for me (I do not have that key in the registry). I think the problem runs deeper than this, as the log looks almost identical to others I have found around other node packages:
It looks like it is some issue due to the compiler/visual studio. Since that is something I cannot change from my side, I might give up with updating Hydrogen. Thank you for your help, anyway. |
If you don't have that key you should set it. That why the error is showing up because it can't find the key |
In any case you could always download the files from the repo and install. There are plenty of ways to upgrade |
Even in your error it says you should set python env variable. Can you show me you python env variable from sys env variables? |
@pepicello The log in this comment reports node-gyp fails because Would it be an option for you to install Python 2 in You my be affected by atom/apm#818 . See atom/apm#179 (comment) for a fix (as this is for windows, you may need to use |
Sorry for the confusion, the two issues mixed up! To clarify: I cannot choose the python version when trying to install via GUI. Since I use Python 3, the error from the GUI is related to not finding Python 2. But I am not attached to the GUI installation, so I tried to install from CLI, using apm, setting the python executable in apm, which I described in the first comment: #1689 (comment). Here is a longer log of the same issue. For some reason, the console output showed more error than the log, so here is the console output:
As you can see, Python 2 is picked up, but the installation still fails.
|
OK, it looks like The usual recommendation is to install |
This did not work, but I have eventually fixed it by re-installing VS and VS C++ Build Tools, after reading nodejs/node-gyp#671. Thanks anyway for the help! |
Description:
Installation fails on windows, either via Atom GUI or cmd (apm). I noticed that the same error happens when running:
Steps to Reproduce:
Versions:
OS Version: Windows 7 64bit
Atom Version: 1.38.2
Electron Version: 2.0.18
Node Version: 8.9.3
Hydrogen Version: 2.9.0 (latest)
Logs:
Thank you!
The text was updated successfully, but these errors were encountered: