Hello everybody
Please, I need your help!
I want to start a python3 script from a node.
For this I installed "node-red-contrib-pythonshell", works well with an easy script, but now i want to import "requests" modul and I always get this error:
exit code: 1, Traceback (most recent call last):
File "kodi-pause.py", line 3, in
import requests
ModuleNotFoundError: No module named 'requests'
And I really have no idea why?
I have created a virtual environment in the data directory of node-red and installed "request" in it. If I change to the environment from the console and start the script, its working fin, but not from the node.
I have no more ideas what to do and so every tip is welcome!
Thanks in front and have a nice weekend!
Mili