How to use a different version of python during NPM install?

后端 未结 6 668
無奈伤痛
無奈伤痛 2020-12-07 06:39

I have terminal access to a VPS running centos 5.9 and default python 2.4.3 installed. I also installed python 2.7.3 via these commands: (I used make altinstall

6条回答
  •  北荒
    北荒 (楼主)
    2020-12-07 07:29

    for quick one time use this works, npm install --python="c:\python27"

提交回复
热议问题