You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "114514\GPT4V-Image-Captioner\gpt-caption.py", line 19, in <module>
from lib.Detecter import detecter
File "114514\GPT4V-Image-Captioner\lib\Detecter.py", line 2, in <module>
import GPUtil
File "114514\GPT4V-Image-Captioner\myenv\Lib\site-packages\GPUtil\__init__.py", line 33, in <module>
from .GPUtil import GPU, getGPUs, getAvailable, getAvailability, getFirstAvailable, showUtilization, __version__
File "114514\GPT4V-Image-Captioner\myenv\Lib\site-packages\GPUtil\GPUtil.py", line 34, in <module>
from distutils import spawn
ModuleNotFoundError: No module named 'distutils'
运行“start_windows.bat”时报错:
检索可知Python3.12已经移除了“distutils”模块,而该模块是由程序使用的GPUtil引用,但GPUtil社区已经不再活跃,近五年没有更新。
是否有必要删除相关代码,以使程序支持最新版的Python 3.12?
The text was updated successfully, but these errors were encountered: