首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Pipfile.lock已过期。

Pipfile.lock已过期。
EN

Stack Overflow用户
提问于 2018-06-15 04:17:20
回答 1查看 3.6K关注 0票数 2

尝试将python脚本推送到heroku时,它抱怨我的pipfile.lock已过期。我正在使用pipenv来管理依赖项,并且我已经尝试运行pipenv lock来更新锁文件,但都没有用。

代码语言:javascript
复制
Counting objects: 11, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 2.39 KiB | 817.00 KiB/s, done.
Total 11 (delta 3), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python app detected
remote: -----> Found python-3.6.5, removing
remote: -----> Installing python-2.7.15
remote: -----> Installing pip
remote: -----> Installing dependencies with Pipenv 11.8.2.
remote:        Your Pipfile.lock (c7d2bf) is out of date. Expected: (29c137).
remote:        Aborting deploy.
remote:  !     Push rejected, failed to compile Python app.
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to bot_testbed.
remote:

Warning: Your console font probably doesn't support Unicode. If you experience strange characters in the output, consider switching to a TrueType font such as Consolas!
To https://git.heroku.com/peopleoftherealms.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/bot_testbed.git
EN

回答 1

Stack Overflow用户

发布于 2019-03-24 01:36:32

当这是我的问题时,一个简单的pipenv install就是解决方案。我使用的是windows ubuntu,但它应该是通用的。

票数 5
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50865274

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档