Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

apm ignores python versioning in npm config #179

@ghost

Description

apm install atom-lint
and
apm install --python=python2.7 atom-lint

result in:
gyp ERR! stack Error: Python executable "python" is v3.4.1, which is not supported by gyp.
gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.

npm config list outputs:
; globalconfig /usr/etc/npmrc
python = "/usr/bin/python2"

which python2.7 outputs:
/usr/bin/python2.7

I was eventually able to get the linter installed by:
export PYTHON=python2.7

but it appears that the switch and config are ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions