0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

pipenv lock -r が消えているのと新しい対処方法

Last updated at Posted at 2022-10-24

はじめに

デプロイスクリプトの証跡残しのために、pipenv lock -r でその時のインストール情報を残していたのだが、少し間を開けてそのデプロイスクリプトを実行したところ、pipenv lock -r がエラーとなった。

原因と対処

新規に pipenv requirements コマンドが実装されたため、併せて piepnv lock -r は利用できなくなった模様。
対応はこのあたり。

機能の更新自体は 2022/4末 ぐらいだったが、公式ドキュメントへの反映が8月だったり、そもそも変更が新しいためネット上の記事の多くでは lock -r を利用している記事が散見される。
そのため、エラーに出会った人向けの対応策として紹介する。

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?