我的计算机上安装了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```
删除
Twisted-20.3.0-cp38-cp38-win_amd64.whl
中的requirement.txt
我认为这不是必需的,因为在安装
scrapy
时,它会得到处理相关问题 更多 >
编程相关推荐