# Fail to install tensorflow on raspberry pi Node-red

**URL:** <https://discourse.nodered.org/t/fail-to-install-tensorflow-on-raspberry-pi-node-red/71416>\
**Category:** General\
**Created:** [29 November 2022 07:02 UTC](https://discourse.nodered.org/t/fail-to-install-tensorflow-on-raspberry-pi-node-red/71416 "2022-11-29T07:02:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cimbaraxe](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@Cimbaraxe](https://discourse.nodered.org/u/Cimbaraxe)\
**Post date:** [29 November 2022 07:02 UTC](https://discourse.nodered.org/t/fail-to-install-tensorflow-on-raspberry-pi-node-red/71416/1 "2022-11-29T07:02:10Z")

</div>

* * *

2022-11-29T06:27:34.900Z Install : node-red-contrib-tensorflow 0.3.1

2022-11-29T06:27:32.514Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-tensorflow@0.3.1

2022-11-29T06:27:34.801Z [err] npm

2022-11-29T06:27:34.805Z [err]

2022-11-29T06:27:34.806Z [err] WARN

2022-11-29T06:27:34.807Z [err]

2022-11-29T06:27:34.807Z [err] config

2022-11-29T06:27:34.808Z [err] production Use `--omit=dev` instead.

2022-11-29T06:28:12.849Z [err] npm

2022-11-29T06:28:12.851Z [err]

2022-11-29T06:28:12.853Z [err] ERR! code

2022-11-29T06:28:12.854Z [err] ENOTEMPTY

2022-11-29T06:28:12.855Z [err] npm ERR!

2022-11-29T06:28:12.856Z [err] syscall rename

2022-11-29T06:28:12.857Z [err] npm ERR! path /home/pi/.node-red/node\_modules/adm-zip

2022-11-29T06:28:12.858Z [err] npm ERR! dest /home/pi/.node-red/node\_modules/.adm-zip-IJup2u0l

2022-11-29T06:28:12.859Z [err] npm ERR!

2022-11-29T06:28:12.860Z [err] errno -39

2022-11-29T06:28:12.866Z [err] npm ERR!

2022-11-29T06:28:12.867Z [err] ENOTEMPTY: directory not empty, rename '/home/pi/.node-red/node\_modules/adm-zip' -\> '/home/pi/.node-red/node\_modules/.adm-zip-IJup2u0l'

2022-11-29T06:28:12.877Z [err]

2022-11-29T06:28:12.878Z [err] npm ERR!

2022-11-29T06:28:12.879Z [err] A complete log of this run can be found in:

2022-11-29T06:28:12.879Z [err] npm ERR! /home/pi/.npm/\_logs/2022-11-29T06\_27\_34\_607Z-debug-0.log

2022-11-29T06:28:12.936Z rc=217

this from the log

Anyone to help

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [29 November 2022 08:21 UTC](https://discourse.nodered.org/t/fail-to-install-tensorflow-on-raspberry-pi-node-red/71416/2 "2022-11-29T08:21:44Z")

</div>

This is an npm problem that appears occasionally, no-one is sure why. Look in the node\_modules folder in the error and delete any folders that start with a dot. Then try again.

---

<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:** [28 January 2023 08:22 UTC](https://discourse.nodered.org/t/fail-to-install-tensorflow-on-raspberry-pi-node-red/71416/3 "2023-01-28T08:22:16Z")

</div>

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