node-red-contrib-python-function
node-red-contrib-python-function copied to clipboard
Error on debug node
Hi,
I am using Node-red 2.2. I created a simple flow by use inject, python-function and debug nodes. Flowing code is in the python-function node:
import yfinance as yf
df = yf.download("AAPL", start="2021-12-01", end="2022-02-01") msg['payload'] = df.tail()
return msg
It runs fine in a python file. But I got errors on debug node in Node-Red. One of the error is following:
Traceback (most recent call last):
File "
Could you help to resolve the issue?
Thank you so much!