Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

setting python2 in the path for npm install

If Python is installed using a package manager, it should already be on your path.
But if installed using 'msi/exe', then add "C:Python27" to Environment-User-variable PATH (or the location where it is installed)
Node-gyp requires Python 2.x and cannot use Python 3.x

If path is required only at the specific directory, then try below:
npm config set python C:Python27python.exe
Comment

PREVIOUS NEXT
Code Example
Python :: numpy distance of consecutive elements 
Python :: sort np list of string 
Python :: handlebars python 
Python :: figure in matplotlib 
Python :: copy module in python 
Python :: python listas por comprension 
Python :: includes python 
Python :: how to use with statement in python 2.5 and earlier 
Python :: Sorting a list using a named function 
Python :: ljust rjust center python 
Python :: count unique values in python 
Python :: Range all columns of df such that the minimum value in each column is 0 and max is 1. in pandas 
Python :: append numeric number in and auto increment in using pandas 
Python :: printed in a comma-separated sequence on a single line. 
Python :: pyplot aera 
Python :: python function 
Python :: get all ForeignKey data by nesting in django 
Python :: def total_missing(df,column_name) 
Python :: python bug 
Python :: root mean squared error in machine learning formula 
Python :: google scikit learn decision tree 
Python :: python reading into a text file and diplaying items in a user friendly manner 
Python :: open textfile separated by whitespaces python 
Python :: shared SHMEM python 
Python :: binary search tree python 
Python :: union type python 
Python :: python using list as dictionary key 
Python :: python get ids from array of objects 
Python :: python format decimal list 
Python :: {} string python 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =