I am trying to install fabric.js on node.js. I put in the command to do the installation as given in this document :
npm install -g fabric
But the installation fails with the error message "Can't find Python executable". Here is a screenshot showing the error:
I saw that the installation failed doing a rebuild of node-gyp, and so I tried manually installing node-gyp. The manual installation of node-gyp completed successfully, but this did not help with the installation of fabric.js.
Does anyone know if there is a workaround for this issue to get fabric.js installed in a Windows environment?
Know this is old, but for those that see something similar.
As the initial error reports:
Make sure you have python installed
Make sure you have python in your path after it has been installed.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.