# Unable to install node-red-admin

**URL:** <https://discourse.nodered.org/t/unable-to-install-node-red-admin/4845>\
**Category:** General\
**Created:** [13 November 2018 18:02 UTC](https://discourse.nodered.org/t/unable-to-install-node-red-admin/4845 "2018-11-13T18:02:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfehl](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Post date:** [13 November 2018 18:02 UTC](https://discourse.nodered.org/t/unable-to-install-node-red-admin/4845/1 "2018-11-13T18:02:05Z")

</div>

I am trying to `npm install -g node-red-admin` but getting many errors and warnings. I am trying to install so I can run `node-red-admin hash-pw`

Console log below:

[node-red-admin error.txt](https://discourse.nodered.org/uploads/short-url/x6bKJUj6Nedv71DSeziZJSGtdnn.txt) (2.8 KB)

---

<div class="post-metadata">

**Author:** ![dustinw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dustinw/32/3426_2.png) [@dustinw](https://discourse.nodered.org/u/dustinw)\
**Post date:** [15 November 2018 18:18 UTC](https://discourse.nodered.org/t/unable-to-install-node-red-admin/4845/2 "2018-11-15T18:18:22Z")

</div>

It looks like you have missing prerequisites (i.e. python) ...

```
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.

```

You'll need to either install python or set the PYTHON environment variable so that NPM can find it.

Here's a stack overflow article with good info: [https://stackoverflow.com/questions/15126050/running-python-on-windows-for-node-js-dependencies](https://stackoverflow.com/questions/15126050/running-python-on-windows-for-node-js-dependencies)

---

<div class="post-metadata">

**Author:** ![jfehl](https://avatars.discourse-cdn.com/v4/letter/j/d2c977/32.png) [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Post date:** [15 November 2018 18:55 UTC](https://discourse.nodered.org/t/unable-to-install-node-red-admin/4845/3 "2018-11-15T18:55:36Z")

</div>

Thank you....I will have a look.
