I installed the mentioned 3rd party node and restarted Node-RED. After that I can't find the installed node in my Node-RED system.
I tried it load several time and different methodes without success. npm
ended no errors, python 2.7 is installed. There is
node-red-contrib-python-function directory inside
~/.node-red/node_modules/
Have anybody some suggestion what I doing wrong? I've got a large number of used extra nodes insatlled.
Kovaccsaba
What are you running node-red on?
What version of node-red?
What version of nodejs?
Traceback (most recent call last): File "<string>", line 101, in <module> File "<string>", line 59, in python_function ImportError: No module named mosquitto.py
File "<string>", line 60 import /home/pi/mosquitto.py ^ SyntaxError: invalid syntax
From that error message, it appears that node requires node.js 4.x or later as it uses the newer ES6 syntax.
Nick
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
For more options, visit https://groups.google.com/d/optout.
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
In ~/.node-red, run 'npm rebuild' and see where you get to.
On 16 September 2016 at 22:25, kovaccs <kovac...@gmail.com> wrote:
Dave C-J:
This has been done and it has not helped!
I've got a nodjs V.4.5 installed
pi@kovaccs-rPI-deb:~ $ nodejs -v
v4.5.0
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
Anyone knows "how to" or where to put additional .py files to import into the node
Hi yes serial ports also have a binary part to them - but are installed as part of the core (normally) - so the update to them is slightly different. If you are feeling strong we can attempt to fix that tomorrow :-)