Error: Protractor 2.0 errors during npm install due to dependencies – cant find the python executable

Standard

During installing protractor globally you may come across below mentioned issue

2015-11-06_12-21-13

So to install it on windows you must first :

  • Install python: Installer
  • (ignore this, If you have visual studio installed on your machine)
    Install Microsoft Visual Studio C++ 2012 Express version: Installer
  • Install node-gyp: npm install -g node-gyp
  • Install protractor: npm install -g protractor

After doing above steps

2015-11-06_12-21-13

You may confirm your globally installed packages by below statement

npm list -g --depth=0

2015-11-06_12-29-45

Advertisements

One thought on “Error: Protractor 2.0 errors during npm install due to dependencies – cant find the python executable

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s