LoginSignup
0
0

More than 1 year has passed since last update.

pipenvの新しいバージョンの問題(>2022.8.5)

Posted at

問題

  • GWの後にソースコードが何も修正しなくて、docker buildが失敗になってしまう
  • 現象
Traceback (most recent call last):
  File "/backend/./app/wsgi.py", line 12, in <module>
    from django.core.wsgi import get_wsgi_application
ModuleNotFoundError: No module named 'django'
unable to load app 0 (mountpoint='') (callable not found or import error)

分析

  • docker buildのログを確認してpipenvのバージョンが更新されてしまう

  • GW前のバージョン: 2022.8.5

  • GW後のバージョン: 2022.8.19

  • githubを確認してGW中にissueがいっぱいある

暫対策

  • pipenvのバージョンを指定する
pip install pipenv==2022.8.5
0
0
0

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