相关疑难解决方法(0)

Heroku 无法安装 pywin32 库

我正在尝试将我的 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)

python django heroku

6
推荐指数
1
解决办法
3609
查看次数

关于 git push heroku 主命令的错误,pywin32 错误

当我尝试推送新项目时,在终端中运行 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)

python git django heroku heroku-cli

2
推荐指数
1
解决办法
91
查看次数

标签 统计

django ×2

heroku ×2

python ×2

git ×1

heroku-cli ×1