I am trying to execute python script which invokes postgress database connection on a remote machine and I see following error, though the psycopg2 package is installed as part of python packages. I have installed "node-red-contrib-python3-function" , "node-red-contrib-python-function" and "node-red-contrib-pythonshell"
msg.payload : string
Traceback (most recent call last):
File "dbconnect.py", line 5, in
ImportError: No module named psycopg2
I see this error if I use either of "python node" or pythonshell or "exec" node.
Any pointers in this regard to unblock me.