找不到满足要求的版本pkg-resources == 0.0.0

阿迪尔·马利克(Adil Malik):

我的应用已部署在上heroku

当我通过推送代码时git push heroku master它给我这个错误

Collecting pkg-resources==0.0.0 (from -r requirements.txt (line 14))
remote:          Could not find a version that satisfies the requirement pkg-resources==0.0.0 (from -r requirements.txt (line 14)) (from versions: )
remote:        No matching distribution found for pkg-resources==0.0.0 (from -r requirements.txt (line 14))
remote:  !     Push rejected, failed to compile Python app.

requirement.txt

amqp==2.1.1
billiard==3.5.0.2
boto==2.42.0
celery==4.0.0
dj-database-url==0.4.1
Django==1.10.2
django-appconf==1.0.2
django-model-utils==2.6
django-storages==1.5.1
djangorestframework==3.4.7
gunicorn==19.6.0
Jinja2==2.8
kombu==4.0.0
MarkupSafe==0.23
optional-django==0.1.0
pep8==1.7.0
pkg-resources==0.0.0
psycopg2==2.6.2
pyflakes==1.3.0
pytz==2016.7
rcssmin==1.0.6
requests==2.12.1
rjsmin==1.0.12
vine==1.1.3
whitenoise==3.2.2

注意:它在我的本地服务器上运行良好。

我的问题是为什么不继续工作heroku而是继续努力local???

少年甘丁:

requirements.txt中删除以下行

pkg-resources==0.0.0

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

使用request.getRemoteAddr()返回0:0:0:0:0:0:0:0:1

android.content.res.Resources $ NotFoundException:字符串资源ID#0x0

zookeeper无法打开localhost / 0:0:0:0:0:0:0:0:1:2181的套接字

Android-android.content.res.Resources $ NotFoundException:资源ID#0x0

Javascript / NodeJS:(()=> 0)===(()=> 0)

Matlab:0 <NaN = 0

Resources $ NotFoundException:AlertDialog中的资源ID#0x0

tensorflow除以0/0 =:0

我希望输出像[[0,0,0,0,],[0,1,0,0],[0,2,0,0],[0,3,0,0]]

Keras GRU模型仅预测[-0。,-0。,-0。,-0。,-0。]

BottomNavigationView膨胀错误。Resources $ NotFoundException:资源ID#0x0

找不到ArCore相机:0

拒绝连接:使用gRPC的localhost / 0:0:0:0:0:0:0:1:9000

Resources $ NotFoundException:具有Toast.makeText的字符串资源ID#0x0

要求在a中声明a [0]

Pygame.mouse.set_cursor((8,8),(0,0),(0,0,0,0,0,0,0,0),(0,0,0,0,0,0,0,0 ,0))导致错误

错误:找不到表0

要求索引0,大小为0

Resources $ NotFoundException:资源ID#0x7f040015

android.content.res.Resources $ NotFoundException:资源ID#0x0

为什么在/ etc / passwd中找不到+ :: 0:0 :::?

android.content.res.Resources $ NotFoundException:使用RecyclerView时资源ID#0x0异常

android.content.res.Resources $ NotFoundException:Spinner中的资源ID#0x0

找不到路径:<0>

android.content.res.Resources$NotFoundException: 资源 ID #0x0 java 异常

Resources$NotFoundException: 资源 ID #0x7f040031

致命异常:主要(android.content.res.Resources$NotFoundException:资源 ID #0x0)

CheckedTextView 错误:android.content.res.Resources$NotFoundException:资源 ID #0x0

%0|%0 如何工作?