Forwarder icon indicating copy to clipboard operation
Forwarder copied to clipboard

根据方法一搭建不成功

Open suoba opened this issue 8 years ago • 4 comments

-----> Python app detected -----> Installing requirements with pip You must give at least one requirement to install (see "pip help install") -----> Discovering process types Procfile declares types -> web -----> Compressing... Done: 41.3M -----> Launching... Released v5 https://saveforcollectinfo.herokuapp.com/ deployed to Heroku

=========================================================

看说明好像是requirements 缺少东西。

suoba avatar Aug 19 '17 09:08 suoba

我已经用方法一帮别人搭建了好几个了,都没有什么问题。 如果现在不行,估计heroku又修改了什么规则吧。 不过就几十行代码,用heroku的demo工程然后将这几十行代码拷贝粘贴过去就好。

cdhigh avatar Aug 19 '17 12:08 cdhigh

我用的也是这个方法,但是跟他一样不行,能详细说说怎么做吗?

ZJJane avatar Dec 27 '17 14:12 ZJJane

我也是一模一样的报错。。

用了方法二报错一致 提示:You must give at least one requirement to install (see "pip help install") log:No module named 'urllib2'

Sciroccogti avatar Aug 01 '18 05:08 Sciroccogti

问题已找到: 在这一行中urllib2已被urllib包含,因此import失败。

Sciroccogti avatar Aug 01 '18 07:08 Sciroccogti