GithubHelp home page GithubHelp logo

Python 3.4 not supported about hydrogen HOT 8 CLOSED

nteract avatar nteract commented on May 18, 2024
Python 3.4 not supported

from hydrogen.

Comments (8)

rgbkrk avatar rgbkrk commented on May 18, 2024

Hey @fonnesbeck!

That's a known issue with node-gyp (nodejs/node-gyp#384), which builds native add ons (in this case zmq). I've been pushing to fix this upstream in node-gyp but haven't seen any responses by maintainers (even on issues from 2014).

Can you try installing hydrogen with the command line apm tool, setting the PYTHON environment variable?

PYTHON=python2.7 apm install hydrogen

Technically, the node-gyp instructions tell people to set it via node-gyp or npm config but with apm bundling both node-gyp and npm I'm not sure how to overwrite it.

from hydrogen.

fonnesbeck avatar fonnesbeck commented on May 18, 2024

I see. That's a deal breaker for me, as I work exclusively in Python 3 these days. Bizarre that they won't update their package.

from hydrogen.

willwhitney avatar willwhitney commented on May 18, 2024

@fonnesbeck It will still run Python 3, it's only the installer for node-gyp that needs Python 2.

from hydrogen.

rgbkrk avatar rgbkrk commented on May 18, 2024

From nodejs/node-gyp#193, seems like much of the issue actually comes from gyp: https://code.google.com/p/gyp/issues/detail?id=36

from hydrogen.

fonnesbeck avatar fonnesbeck commented on May 18, 2024

@willwhitney I see; I had assumed it was associated with the IPython that gets used by hydrogen. setting the PYTHON flag seems to work. Thanks.

from hydrogen.

willwhitney avatar willwhitney commented on May 18, 2024

Awesome, glad you're up and running now.

@rgbkrk I'm starting to really wish for a Javascript ZMQ implementation — gyp seems to be causing a lot of problems.

from hydrogen.

rgbkrk avatar rgbkrk commented on May 18, 2024

With new versions of node-gyp, they'll now also check for python2 (via nodejs/node-gyp#527). Hurrah!

from hydrogen.

willwhitney avatar willwhitney commented on May 18, 2024

Nice!

On Sun, May 24, 2015, 7:57 PM Kyle Kelley [email protected] wrote:

With new versions of node-gyp, they'll now also check for python2. Hurrah!


Reply to this email directly or view it on GitHub
#12 (comment)
.

from hydrogen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.