Skip to content

/bin/sh: python: not found #71

@YounsooChoi

Description

@YounsooChoi

I have python2.7 in /opt/bin/python2.7
I followed guide in README.md

$ export PYTHON=/path/to/python
$ $PYTHON ./configure
$ make
$ [sudo] make install

and I got:

[usagicore@RT-AC68U-3B08 node]$ export "PYTHON=/opt/bin/python2.7"
[usagicore@RT-AC68U-3B08 node]$ $PYTHON ./configure
creating  ./icu_config.gypi
{ 'target_defaults': { 'cflags': [],
                       'default_configuration': 'Release',
                       'defines': [],
                       'include_dirs': [],
                       'libraries': []},
  'variables': { 'arm_float_abi': 'default',
                 'arm_fpu': 'vfpv3',
                 'arm_thumb': 0,
                 'arm_version': '7',
                 'asan': 0,
                 'gas_version': '2.25',
                 'host_arch': 'arm',
                 'icu_small': 'false',
                 'node_byteorder': 'little',                                                'node_enable_v8_vtunejit': 'false',                                        'node_install_npm': 'true',                                                'node_prefix': '/usr/local',                                               'node_release_urlbase': '',                                                'node_shared_http_parser': 'false',                                        'node_shared_libuv': 'false',                                              'node_shared_openssl': 'false',                                            'node_shared_zlib': 'false',
                 'node_tag': '',
                 'node_use_dtrace': 'false',                                                'node_use_etw': 'false',
                 'node_use_lttng': 'false',
                 'node_use_openssl': 'true',                                                'node_use_perfctr': 'false',
                 'openssl_fips': '',
                 'openssl_no_asm': 0,
                 'python': '/opt/bin/python2.7',
                 'target_arch': 'arm',
                 'uv_parent_path': '/deps/uv/',
                 'uv_use_dtrace': 'false',
                 'v8_enable_gdbjit': 0,
                 'v8_enable_i18n_support': 0,
                 'v8_no_strict_aliasing': 1,
                 'v8_optimized_debug': 0,
                 'v8_random_seed': 0,
                 'v8_use_snapshot': 'true',
                 'want_separate_host_toolset': 0}}
creating  ./config.gypi
creating  ./config.mk
/bin/sh: python: not found
gyp: Call to 'python -c "import sys; print sys.byteorder"' returned exit status 127 while in /tmp/mnt/HDD/!usagicore/git/node/deps/v8/tools/gyp/v8.gyp. while loading dependencies of /tmp/mnt/HDD/!usagicore/git/node/node.gyp while trying to load /tmp/mnt/HDD/!usagicore/git/node/node.gyp
Error running GYP
[usagicore@RT-AC68U-3B08 node]$

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