-
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
Unable to install/update Hydrogen in Atom v1.40.0 #1738
Comments
You have to use python 2 for zeromq installation. Here it is trying to find your python 3 file |
thank you @wadethestealth. So I have to install python 2 and link its path? what do you advise me to do exactly? |
Most likely exact what you said then reinstall |
so install python 2 and link path? |
Yes hopefully that gives no issues |
many thanks @wadethestealth. just one more comment, I'm going to try to do that, but python 2 as far as I know is going to go "end of life" en 2019. you are Saying that Atom depends on python 2 to install new packages? or is it only hydrogen? |
AFAIU, the error seems to be caused by your firewall stuff, i.e.: downloading prebuild-binaries of the Hydrogen dependency fails because of that. I've not dug into what |
I don't believe there are any zeromq prebuilts for windows. To build zeromq, which is our dependency, they use node gyp to build binaries on install. However the pit fall is all the requirements of node gyp (Python 2) being one of them. Atom does not have any relation to this issue. It is simply the fact that node gyp doesn't support python 3 which is what zeromq uses. The other problem being I believe that there aren't any prebuilts for zeromq. We can only hope that node gyp gets updated to use python 3. https://github.com/nodejs/node-gyp/blob/master/README.md you can see more in their install instructions. |
Ok many thanks for your Explanation @wadethestealth. I installed python 2.7 and added it to my path. But now I got this other error message:
|
@bjce |
@wadethestealth @n-riesco |
I had the same error as top post. This on Atom 1.40.0 and Mac OS 10.14. Python2 is/should be installed on Mac OS by default, but may have to be called with "python2" instead of "python" which usually defaults to python3 these days. So I managed to fix the issue by editing a script with same procedure as mentioned here: platformio/platformio-atom-ide-terminal#707 (comment) |
I'm getting the same error on windows after upgrading to atom to 1.40. I did not have this problem previously, but now node gyp says it cant find my python exe. I have not installed python 2 previously, I guess I assumed apm handled that somehow. When I have time, I might try installing python 2 and setting https://gist.github.com/BenRussert/b8f25caf90a8955a425a8024e9e9f645 |
I've seen this solution before when there are python 2 vs 3 issues. It's so user unfriendly that I have to wonder if theres a better way. |
If anyone has tried atom 1.38.x or 1.39.x and it did or didnt work that would be useful to know. I didn't have this problem before upgrading to 1.40. |
I just tried installing atom 1.39.1 and it works!
|
@BenRussert |
I think you are on to something there @wadethestealth. You might want to comment here: atom/atom#19780. |
Umm, v1.40.0 still uses electron 3.1.10, which is the same version as v1.39. electron 4 will be introduced in v1.41.0. |
Oops Yeah I see that now @aviatesk |
I don't know maybe it's just firewall related if it can't access the binaries. |
I gonna pin this issue since lots of users are facing this issue after updating to Atom v1.40.0. The temporary fix is just to downgrade Atom to before v1.39.1:
|
@BenRussert @aviatesk We should see if this is related in any way. |
@wadethestealth Seems really related. I will mention that in the issue in atom/atom. |
Okay this issue would be fixed when atom/apm#862 is merged and the new version of Atom is released. We may need to bump the compatible Atom version in the next release though. |
@aviatesk @BenRussert I don't have a problem bumping our supported version, but an alternative may be to add to troubleshooting guide for version 1.40 |
I also ran into problems running/installing Hydrogen on Atom 1.4 on a macOS machine. I downgraded Atom to 1.39.1 per this thread and tried to reinstall Hydrogen. I received the same error as before:
|
As stated above you must point your python path to python 2.5-2.7. Please reread this thread and look at the links posted. Most contain a solution or a installation section. @mcguffie |
@wadethestealth Setting my npm python path to my Python 2.7 installation did not work. @fohria 's solution worked. Thanks! |
UPDATE: This issue will be hopefully fixed in the next Atom’s patch release (v1.40.1). It’s still not shipped yet though. Refs: |
I'll watch this thread. For what it's worth, I had the same trouble trying to install Hydrogen on Atom 1.40.0 on Linux. Two build logs are attached; one installation attempt inside Atom and another with the command-line apm. Most libraries on this system are installed with conda, but Atom is installed with the DEB package (on Debian GNU/Linux 9 Stretch). apm was run in the conda environment; it should see conda packages as dependencies (if relevant). 2019-08-17T15_41_01_452Z-debug.log |
Okay, now this issue should be fixed with the release of Atom v1.40.1: https://atom.io |
wish this wasn't closed... I still had this issue and wasn't resolved with release of Atom v1.40.1. I actually had to comment out the same line in my apm as line 53 here in this issue tracker to resolve this on my work and personal computers. |
@DataDavD I am sorry to hear that v1.40.1 did not fix this issue for you. This issue was closed because it was merely a tracker of our hunt down for the issue as well as a notice until it was fixed by Atom/Apm. If you are still having issues though I would recommend you open an issue over there instead, since there is nothing we can do about this type of issue. |
no worries. still getting a hang of the open-source resolution workflow on GitHub. Should I open another issue if I still had the issue but that my resolution fixed it? Is that something I should have been doing to resolve the issue? I had found it in here |
Atom 1.40.1 fixed it for me, so there's likely two bugs, one of which doesn't affect my setup. Since there's a second bug, I'd think it should be a second GitHub issue. |
@DataDavD If you believe that you have a different issue than the one previously posted or it is closed without a working solution for you, You should open a new issue and mention the solutions you tried but failed. Always try to open an issue on the repo that holds the code that is failing, but if you are unsure open an issue anyways and people will redirect you however this may not always be a fast process. In my opinion opening an issue posting a solution and closing is fine, however it is unlikely to get labeled which can make it semi difficult to find if they don't search your exact wording. In general people will be nice if you act nicely, so if you need help speak up, but I have had plenty of times where I was ignored or the maintainers are no longer active, so occasionally you just have to solve things alone. |
Atom 1.40.0
Windows 10
Hydrogen 2.8.0
I tried to launch Atom, but a red bug appeared with the following message regarding Hydrogen 2.8.0:
with the following Details:
What I tried:
I saw 2 similar issures: #308 , #11, but I could not solve the problem
I then tried to upgrade Hydrogen 2.8 to 2.10 but got a similar error message
I posted a similiar issue for
Atom
#19780 but i ve been told that this was probably related to HydrogenThe text was updated successfully, but these errors were encountered: