Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

ionic python2 Error: not found: python2

in my ionic project it is so old and it need python for build

to do this first we need o install python 2.7 

then set the path for npm node config

like this
we also need node-gyp
so install

=> npm i -g node-gyp 
Set the path =>. node-gyp --python  /usr/local/bin/python2.7  

for Npm package

=> npm config  set python  /usr/local/bin/python2.7    

Note:-

the path could be diffferent according to System but method same 

the above one is for mac 
Comment

PREVIOUS NEXT
Code Example
Python :: libraries used in ANN with sklearn 
Python :: why when I merge my label cluster with my dataframe i get more row 
Python :: pyspark find columns with null values 
Python :: how to clear the console python 
Python :: python fibonacci generator 
Python :: check odd numbers numpy 
Python :: how to set default python version in macos 
Python :: send image discord.py 
Python :: float number field django models 
Python :: Function to a button in tkinter 
Python :: install python decouple 
Python :: normalize data python pandas 
Python :: rotate labels matplotlib 
Python :: read image python 
Python :: plt.xlabel not working 
Python :: python index of max value in list 
Python :: pandas read csv parse_dates 
Python :: check column type pandas 
Python :: program to calculate the volume of sphere python 
Python :: python sort with comparator 
Python :: calculator in one line in python 
Python :: python randomize list 
Python :: seaborn plot dpi 
Python :: python has duplicates 
Python :: python show image opencv 
Python :: if a number times a number is true python 
Python :: python f string columns 
Python :: change title size matplotlib 
Python :: python dict exclude keys 
Python :: is there a replacement for ternary operator in python 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =