# Can't install node-red-contrib-zigbee

**URL:** <https://discourse.nodered.org/t/cant-install-node-red-contrib-zigbee/38660>\
**Category:** General\
**Created:** [6 January 2021 14:04 UTC](https://discourse.nodered.org/t/cant-install-node-red-contrib-zigbee/38660 "2021-01-06T14:04:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tehn](https://avatars.discourse-cdn.com/v4/letter/t/51bf81/32.png) [@Tehn](https://discourse.nodered.org/u/Tehn)\
**Post date:** [6 January 2021 14:04 UTC](https://discourse.nodered.org/t/cant-install-node-red-contrib-zigbee/38660/1 "2021-01-06T14:04:48Z")

</div>

I just started using node red. Using the manage pallete it doesn't download. It gives me the same error when i load the npm code into powershell. Doe anyone know how to fix this?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [6 January 2021 14:14 UTC](https://discourse.nodered.org/t/cant-install-node-red-contrib-zigbee/38660/2 "2021-01-06T14:14:19Z")

</div>

Welcome to the forum @Tehn

What actual error are you getting?

---

<div class="post-metadata">

**Author:** ![Tehn](https://avatars.discourse-cdn.com/v4/letter/t/51bf81/32.png) [@Tehn](https://discourse.nodered.org/u/Tehn)\
**Post date:** [6 January 2021 14:16 UTC](https://discourse.nodered.org/t/cant-install-node-red-contrib-zigbee/38660/3 "2021-01-06T14:16:38Z")

</div>

npm ERR! code ELIFECYCLE  
npm ERR! errno 1  
npm ERR! @serialport/bindings@9.0.3 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`  
npm ERR! Exit status 1  
npm ERR!  
npm ERR! Failed at the @serialport/bindings@9.0.3 install script.  
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [6 January 2021 14:17 UTC](https://discourse.nodered.org/t/cant-install-node-red-contrib-zigbee/38660/4 "2021-01-06T14:17:54Z")

</div>

There will be more log output above that with the actual details of what failed.

---

<div class="post-metadata">

**Author:** ![Tehn](https://avatars.discourse-cdn.com/v4/letter/t/51bf81/32.png) [@Tehn](https://discourse.nodered.org/u/Tehn)\
**Post date:** [6 January 2021 14:19 UTC](https://discourse.nodered.org/t/cant-install-node-red-contrib-zigbee/38660/5 "2021-01-06T14:19:24Z")

</div>

Sorry, entirely new to this kind of stuff.

on 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.exe  
gyp ERR! find Python - "C:\Python37\python.exe" could not be run  
gyp ERR! find Python  
gyp ERR! find Python \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
gyp ERR! find Python You need to install the latest version of Python.  
gyp ERR! find Python Node-gyp should be able to find and use Python. If not,  
gyp ERR! find Python you can try one of the following options:  
gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"  
gyp ERR! find Python (accepted by both node-gyp and npm)  
gyp ERR! find Python - Set the environment variable PYTHON  
gyp ERR! find Python - Set the npm configuration variable python:  
gyp ERR! find Python npm config set python "C:\Path\To\python.exe"  
gyp ERR! find Python For more information consult the documentation at:  
gyp ERR! find Python [GitHub - nodejs/node-gyp: Node.js native addon build tool](https://github.com/nodejs/node-gyp#installation)  
gyp ERR! find Python \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
gyp ERR! find Python  
gyp ERR! configure error  
gyp ERR! stack Error: Could not find any Python installation to use  
gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-python.js:307:47)  
gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-python.js:136:21)  
gyp ERR! stack at PythonFinder. (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-python.js:225:16)  
gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\lib\find-python.js:271:16)  
gyp ERR! stack at exithandler (child\_process.js:315:5)  
gyp ERR! stack at ChildProcess.errorhandler (child\_process.js:327:5)  
gyp ERR! stack at ChildProcess.emit (events.js:315:20)  
gyp ERR! stack at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:275:12)  
gyp ERR! stack at onErrorNT (internal/child\_process.js:465:16)  
gyp ERR! stack at processTicksAndRejections (internal/process/task\_queues.js:80:21)  
gyp ERR! System Windows\_NT 10.0.18363  
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node\_modules\npm\node\_modules\node-gyp\bin\node-gyp.js" "rebuild"

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [6 January 2021 14:21 UTC](https://discourse.nodered.org/t/cant-install-node-red-contrib-zigbee/38660/6 "2021-01-06T14:21:40Z")

</div>

> [@Tehn](#):
>
> Sorry, entirely new to this kind of stuff.

No problem at all - the log output can be overwhelming at first, but if you scan through it carefully, it will often include the piece you are missing:

> [@Tehn](#):
>
> * * *
> 
> gyp ERR! find Python You need to install the latest version of Python.  
> gyp ERR! find Python Node-gyp should be able to find and use Python. If not,  
> gyp ERR! find Python you can try one of the following options:  
> gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"  
> gyp ERR! find Python (accepted by both node-gyp and npm)  
> gyp ERR! find Python - Set the environment variable PYTHON  
> gyp ERR! find Python - Set the npm configuration variable python:  
> gyp ERR! find Python npm config set python "C:\Path\To\python.exe"  
> gyp ERR! find Python For more information consult the documentation at:  
> gyp ERR! find Python [GitHub - nodejs/node-gyp: Node.js native addon build tool](https://github.com/nodejs/node-gyp#installation)  
> gyp ERR! find Python \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

---

<div class="post-metadata">

**Author:** ![Tehn](https://avatars.discourse-cdn.com/v4/letter/t/51bf81/32.png) [@Tehn](https://discourse.nodered.org/u/Tehn)\
**Post date:** [6 January 2021 14:47 UTC](https://discourse.nodered.org/t/cant-install-node-red-contrib-zigbee/38660/7 "2021-01-06T14:47:40Z")

</div>

Thank you so much! It's working now!

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [6 January 2021 16:21 UTC](https://discourse.nodered.org/t/cant-install-node-red-contrib-zigbee/38660/8 "2021-01-06T16:21:10Z")

</div>

That seems to indicate that you didn't install windows-build-tools - you should install that and not just python.

[windows-build-tools - npm (npmjs.com)](https://www.npmjs.com/package/windows-build-tools)

---

<div class="post-metadata">

**Author:** ![Tehn](https://avatars.discourse-cdn.com/v4/letter/t/51bf81/32.png) [@Tehn](https://discourse.nodered.org/u/Tehn)\
**Post date:** [6 January 2021 18:26 UTC](https://discourse.nodered.org/t/cant-install-node-red-contrib-zigbee/38660/9 "2021-01-06T18:26:58Z")

</div>

Yes, i noticed. While following the link that the error had given i was able to download the whole tools package. Thanks for your help anyways!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [20 January 2021 18:27 UTC](https://discourse.nodered.org/t/cant-install-node-red-contrib-zigbee/38660/10 "2021-01-20T18:27:00Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
