Python 3.x 有没有办法在IIS服务器上部署FastAPI?
在IIS上部署FastAPI应用程序时遇到问题 这就是我得到的错误Python 3.x 有没有办法在IIS服务器上部署FastAPI?,python-3.x,iis,deployment,fastcgi,fastapi,Python 3.x,Iis,Deployment,Fastcgi,Fastapi,在IIS上部署FastAPI应用程序时遇到问题 这就是我得到的错误 Error occurred: Traceback (most recent call last): File "c:\programdata\anaconda3\lib\site-packages\wfastcgi.py", line 847, in main result = handler(record.params, response.start) TypeError: __
Error occurred:
Traceback (most recent call last):
File "c:\programdata\anaconda3\lib\site-packages\wfastcgi.py", line 847, in main
result = handler(record.params, response.start)
TypeError: __call__() missing 1 required positional argument: 'send'
有什么想法吗?请使用HttpPlatformHandler,而不是
wfastcgi.py
如果您想在IIS中运行FastAPI,我们可以使用IIS作为反向代理来运行FastAPI: