Skip to content

Can't build jupyter notebook with python3 because node-js requires python2 to build #4319

@syntion

Description

@syntion

I am tryed to install jupyter notebook for python 3 by running:

spack install --verbose [email protected] ^[email protected]~tk~ucs4
==> Error: Invalid spec: '[email protected]~tk~ucs4'. Package python requires version 2.7:2.8, but spec asked for 3.6.0

The reason for this, that node-js depends on python2 to build:

depends_on('[email protected]:2.8', type='build')

As python2 is only required as build depency for node-js is should be possible to build node-js with python2 and use jupyter with python3.
Is it possible to pass this to spack?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions