前几天我尝试将我的应用程序部署到Heroku时遇到了以下错误:
Collecting ikp3db==1.4
Could not find a version that satisfies the requirement ikp3db==1.4
ikp3db==1.4
是什么意思?我试着从我的requirements.txt
文件中删除它并成功地推送,尽管默认页面加载速度非常慢。你知道吗
如何修复此问题以便正确部署应用程序?你知道吗
在上下文中,我尝试使用套接字.io在里面。你知道吗
以下是部署日志的相关部分:
remote: -----> Python app detected
remote: -----> Installing requirements with pip
remote: Collecting ikp3db==1.4 (from -r /tmp/build_6a70450c1a3e03480c6a367846a7a630/requirements.txt (line 37))
remote: Could not find a version that satisfies the requirement ikp3db==1.4 (from -r /tmp/build_6a70450c1a3e03480c6a367846a7a630/requirements.txt (line 37)) (from versions: 1.0, 1.1, 1.1.2, 1.1.3, 1.1.4)
remote: No matching distribution found for ikp3db==1.4 (from -r /tmp/build_6a70450c1a3e03480c6a367846a7a630/requirements.txt (line 37))
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
从its PyPI page:
一般来说,调试器不应该部署到生产服务器上。它们代表着重大的安全风险。你知道吗
删除调试器不会导致应用程序运行缓慢。还有别的事。从查看浏览器的devtools开始,看看是否可以确定应用程序的哪个部分比较慢。根据您记录的信息,^{} command 在这里可能也很有用。你知道吗
相关问题 更多 >
编程相关推荐