Hi @Salva ,
Thanks for reaching out to Q&A forum.
I would suggest you to use the latest version of pythonnet which is 3.0.0 and use the .net core which is compatible with Linux OS as well. AS you mentioned, Azure python functions are hosted in Linux platform only. Please load the .net core in the following way,
from pythonnet import load
load("coreclr")
import clr
https://pypi.org/project/pythonnet/
Hope this helps!