KE1.6.12.post1へのバージョンアップ後にdjangoモジュールが参照できない
お世話になっております。
KE1.6.11から1.6.12.post1へのバージョンアップを行った際、
以下のようなエラーが発生しております。
(1.6.11→1.6.12→1.6.12.post1の順で2段階でバージョンアップしました。)
<エラー概要>
・これまでは正常に実行できていたジョブフローが実行できませんでした。
エラー結果を確認すると「No module named 'django'」と表示され、djangoモジュールが参照できなくなっているようです。
/opt/kompira/lib64/python3.9/site-packages/axes/__init__.py:1: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
from pkg_resources import get_distribution
[2026-03-12 09:19:18,460:871793:manage.py:140266044415488:MainThread] INFO: start terminate_process for 1 processes (via kompirad)
[2026-03-12 09:19:18,470:871793:manage.py:140266044415488:MainThread] INFO: terminate_process(298)
[2026-03-12 09:19:18,499:871793:manage.py:140266044415488:MainThread] INFO: finished terminate_process for 1 processes
Traceback (most recent call last):
File "/opt/kompira/bin/manage.py", line 10, in main
from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/kompira/bin/manage.py", line 21, in <module>
main()
File "/opt/kompira/bin/manage.py", line 12, in main
raise ImportError(
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
お手数をおかけしますが、ご確認よろしくお願いします。
-
OS情報は以下の通りです。
Rocky Linux 9.6 (Blue Onyx)
先ほど、support@kompira.jp宛にログ一式を送付しました。
ご確認よろしくお願いします。
サインインしてコメントを残してください。
コメント
4件のコメント