Using .net 6 i want to use a python script but i always have this exception: Python.Runtime.PythonException: ”NoneType’ object has no attribute ‘flush”
I would like to find a way to execute the script that downloads information from yahoo finance api.
I am trying to download the historical data from yahoofinance api yfinance (Python) in .net. I want to have the close data of a stock. I have already tried to execute this code before in python and it works fine. But when i execute it in .net it always throws the exception.