且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Heroku无法安装pywin32库

更新时间:2022-12-07 23:08:16

来自其自述文件:>

这是Python for Win32(pywin32)扩展的自述文件,可从Python访问许多Windows API.

This is the readme for the Python for Win32 (pywin32) extensions, which provides access to many of the Windows APIs from Python.

Heroku无法在Windows上运行,因此没有Windows API.结果无法安装pywin32.

Heroku doesn't run on Windows, so there are no Windows APIs available. As a result pywin32 can't be installed.

您要么必须将应用程序托管在Windows上,要么要删除pywin32依赖项.

You either have to host your application on Windows or remove the pywin32 dependency.