错误:Twisted20.3.0cp38cp38win_amd64。whl在此平台上不是受支持的车轮

2024-06-12 22:18:07 发布

您现在位置:Python中文网/ 问答频道 /正文

我的计算机上安装了Python 3.8.3、Scrapy 2.2.0和Twisted-20.3.0-cp38-cp38-win_amd64.whl。一切正常。 如果没有Twisted,我无法安装Scrapy,因此Twisted也已安装,但当我尝试将应用程序传输到Heroku时,出现了一个错误。如何在Heroku上使用Scrapy

-----> Found python-3.6.10, removing
-----> Requirements file has been changed, clearing cached dependencies
-----> Installing python-3.8.3
-----> Installing pip
-----> Installing SQLite3
-----> Installing requirements with pip
       ERROR: Twisted-20.3.0-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
 !     Push rejected, failed to compile Python app.
 !     Push failed```

Tags: pip应用程序heroku错误twistedpushwinamd64
1条回答
网友
1楼 · 发布于 2024-06-12 22:18:07

删除Twisted-20.3.0-cp38-cp38-win_amd64.whl中的requirement.txt

我认为这不是必需的,因为在安装scrapy时,它会得到处理

相关问题 更多 >