Trouble shooting: Can’t find Python executable “python” on Windows 10

Recreate Issue:

  • While following Hyperledger Fabric’s “Writing Your First Application”, under “fabric-sample” > “fabcar”
  • $ npm install
  • Error: “……gyp ERR! stack Error: Can’t find Python executable “python”, you can set the PYTHON env variable…..”

3. Solution: Install Python

  • “Start” > Type in “PowerShell” > Right click, run as Administrator
  • Run > npm –add-python-to-path=’true’ –debug install –global windows-build-tools
  • Go back to Bash, go to “fabric-sample” > “fabcar”
  • $ npm install


  • Show Comments (0)

Your email address will not be published. Required fields are marked *

comment *

  • name *

  • email *

  • website *

You May Also Like

2017/02/13 Daily Log (part 1): Docker

Trouble shooting: Firewall blocking Docker file sharing on 445 port & fabric-orderer + cli ...

2017/02/05 Daily Log: 1st Contact

Learned Amazon Web Services #VPC Studied #HyperledgerFabric sample project code Signed up to become ...

2017/02/04 Daily Log: Let’s GO(lang)!

I wrote my first #Golang code on. #Blockchain utilizing #Hyperledger #Fabric on Amazon Web ...

2017/02/13 Daily Log (part 3): Hyperledger Composer

Installed Hyperledger Composer on local Windows 10 machine. (and it’s AWESOME!)

2017/02/21 Daily Log: Academind

1.Followed Academind RESTful API with node.js tutorial and learned how to build a simple app that’s ...

2017/02/06 Daily Log: Hyperledger Power

Read Architecture Work Group paper “Hyperledger Architecture, Volume 1: Introduction to Hyperledger Business Blockchain ...