Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR 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 
 
PREVIOUS NEXT
Tagged: #ionic
ADD COMMENT
Topic
Name
9+5 =