Botez, Alexandru Thanks for posting your question in Microsoft Q&A. Visual Studio is the recommended IDE for debugging, publishing Azure Functions and discussion: Support for PyCharm was opened specifically for this to add PyCharm support in future. However, you should be run and stop the functions through the command line. You might face this issue if running on ARM64 devices (not supported) and in that case, check x86 emulation on ARM64 as a workaround to run in emulated x86 environment.
If it doesn't help, please share the runtime version, python, host.json, local.settings.json, full exception info (if any other errors before this screenshot) etc. That would help in understanding better.