模块节点红色节点arduino的安装失败:



我正试图通过node red网站说明中概述的Manage Palette安装功能安装node red node arduino。节点红色安装在我的Windows 10 PC上,我有一个Arduino通过USB COM端口连接。Arduino有标准Firmata加载到板上。当我尝试安装arduino节点时,我收到了一条很长的错误消息,似乎没有成功搜索Python,尽管节点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:Python27python.exe
gyp ERR! find Python - "C:Python27python.exe" could not be run
gyp ERR! find Python checking if Python is C:Python37python.ex...

注意:以上是错误消息,不是代码,但必须将其标记为这样才能获得接受后的

我是Node Red的新手,所以非常感谢任何帮助。

Python是任何必须构建本机组件的nodejs包的需求。在这种情况下,它需要构建node-serial模块才能访问COM端口。您需要安装支持的Python版本才能使其工作。

相关内容

  • 没有找到相关文章

最新更新