【发布时间】:2021-05-15 05:29:59
【问题描述】:
我正在尝试通过 node-red 网站说明中概述的管理调色板安装功能安装 node-red node-arduino。 Node-red 安装在我的 Windows 10 PC 上,我通过 USB COM 端口连接了一个 Arduino。 Arduino 已将标准固件加载到板上。当我尝试安装 arduino-node 时,我收到一条冗长的错误消息,似乎没有成功搜索 Python,尽管 node-arduino 的要求中没有提到 Python。这是错误消息:
prebuild-install WARN install No prebuilt binaries found (target=14.16.1 runtime=node arch=x64 libc= platform=win32)
gyp ERR! find Python
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if "python" can be used
gyp ERR! find Python - "python" is not in PATH or produced an error
gyp ERR! find Python checking if "python2" can be used
gyp ERR! find Python - "python2" is not in PATH or produced an error
gyp ERR! find Python checking if "python3" can be used
gyp ERR! find Python - "python3" is not in PATH or produced an error
gyp ERR! find Python checking if the py launcher can be used to find Python 2
gyp ERR! find Python - "py.exe" is not in PATH or produced an error
gyp ERR! find Python checking if Python is C:\Python27\python.exe
gyp ERR! find Python - "C:\Python27\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Python37\python.ex...
注意:以上是错误消息,不是代码,但必须将其标记为这样才能被接受
我是 Node-Red 的新手,非常感谢任何帮助。
【问题讨论】: