sMythicalBird / ZenlessZoneZero-Auto

绝区零 | ZenlessZoneZero | 零号空洞 | 自动战斗 | 自动化 | 图片分类 | OCR识别
https://fairy.autoscript.site/zh/
GNU General Public License v3.0
1.23k stars 89 forks source link

module缺失 #100

Closed 17356512039 closed 3 months ago

17356512039 commented 3 months ago

Traceback (most recent call last): File "F:\MyTools\Zero\ZenlessZoneZero-Auto\main.py", line 31, in from utils.task import task File "F:\MyTools\Zero\ZenlessZoneZero-Auto\utils\task.py", line 499, in task = _Task() File "F:\MyTools\Miniconda3\envs\py310\lib\site-packages\pydantic\main.py", line 193, in init self.pydantic_validator.validate_python(data, self_instance=self) File "F:\MyTools\Zero\ZenlessZoneZero-Auto\utils\ocr\ocr.py", line 49, in init from paddleocr import PaddleOCR File "F:\MyTools\Miniconda3\envs\py310\lib\site-packages\paddleocr\init.py", line 14, in from .paddleocr import * File "F:\MyTools\Miniconda3\envs\py310\lib\site-packages\paddleocr\paddleocr.py", line 21, in import paddle File "F:\MyTools\Miniconda3\envs\py310\lib\site-packages\paddle\init.py", line 28, in from .base import core # noqa: F401 File "F:\MyTools\Miniconda3\envs\py310\lib\site-packages\paddle\base\init.py", line 77, in from . import dataset File "F:\MyTools\Miniconda3\envs\py310\lib\site-packages\paddle\base\dataset.py", line 20, in from ..utils import deprecated File "F:\MyTools\Miniconda3\envs\py310\lib\site-packages\paddle\utils\init__.py", line 16, in from . import ( # noqa: F401 File "F:\MyTools\Miniconda3\envs\py310\lib\site-packages\paddle\utils\cpp_extension\init__.py", line 15, in from .cpp_extension import ( File "F:\MyTools\Miniconda3\envs\py310\lib\site-packages\paddle\utils\cpp_extension\cpp_extension.py", line 21, in import setuptools ModuleNotFoundError: No module named 'setuptools'

lazydog28 commented 3 months ago

pip install setuptools

17356512039 commented 3 months ago

缺失的不止这一个,我安装了很多,发现通过conda安装会踩比较多坑,最后选择小白安装解决了