我正在尝试将我的 Python 应用程序推送到 Heroku,但似乎pywin32没有安装:
Counting objects: 519, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (483/483), done.
Writing objects: 100% (519/519), 7.55 MiB | 136.00 KiB/s, done.
Total 519 (delta 247), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python app detected
remote: -----> Installing python-3.6.4
remote: -----> Installing pip
remote: -----> Installing requirements with pip
remote: Collecting aioredis==1.0.0 (from -r /tmp/build_9cc549609c727e83c7b487b43fec0a2e/requirements.txt (line 1))
remote: Downloading https://files.pythonhosted.org/packages/e6/15/79bc11213e1b918f152914e1de96e5610961da3709e3ca8cc650e00b8f4e/aioredis-1.0.0-py3-none-any.whl (59kB) …Run Code Online (Sandbox Code Playgroud) 当我尝试推送新项目时,在终端中运行 git push heroku main 时出现以下错误:
remote: INFO: pip is looking at multiple versions of pypiwin32 to determine which version is compatible with other requirements. This could take a while.
remote: ERROR: Ignored the following versions that require a different python version: 1.9.5 Requires-Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.
7
remote: ERROR: Could not find a version that satisfies the requirement pywin32>=223 (from pypiwin32) (from versions: none)
remote: ERROR: No matching distribution found for pywin32>=223
remote: ! Push rejected, …Run Code Online (Sandbox Code Playgroud)