Hi I tried install via PixelAI-helper today first time, but python shows error:
Traceback (most recent call last):File "C:\Python\Python314\Lib\site-packages\transformers\utils\import_utils.py", line 2226, in __getattr__module = self._get_module(self._class_to_module[name])File "C:\Python\Python314\Lib\site-packages\transformers\utils\import_utils.py", line 2460, in _get_moduleraise eFile "C:\Python\Python314\Lib\site-packages\transformers\utils\import_utils.py", line 2458, in _get_modulereturn importlib.import_module("." + module_name, self.__name__)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "C:\Python\Python314\Lib\importlib\__init__.py", line 88, in import_modulereturn _bootstrap._gcd_import(name[level:], package, level)~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "<frozen importlib._bootstrap>", line 1398, in _gcd_importFile "<frozen importlib._bootstrap>", line 1371, in _find_and_loadFile "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlockedFile "<frozen importlib._bootstrap>", line 938, in _load_unlockedFile "<frozen importlib._bootstrap_external>", line 759, in exec_moduleFile "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removedFile "C:\Python\Python314\Lib\site-packages\transformers\models\clip\image_processing_clip.py", line 16, in <module>from ...image_processing_backends import TorchvisionBackendFile "C:\Python\Python314\Lib\site-packages\transformers\image_processing_backends.py", line 21, in <module>from .image_processing_base import BatchFeatureFile "C:\Python\Python314\Lib\site-packages\transformers\image_processing_base.py", line 25, in <module>from .image_utils import is_valid_image, load_imageFile "C:\Python\Python314\Lib\site-packages\transformers\image_utils.py", line 54, in <module>from torchvision.io import ImageReadMode, decode_imageFile "C:\Python\Python314\Lib\site-packages\torchvision\__init__.py", line 2, in <module>from torchvision import datasetsFile "C:\Python\Python314\Lib\site-packages\torchvision\datasets\__init__.py", line 1, in <module>from .lsun import LSUN, LSUNClassFile "C:\Python\Python314\Lib\site-packages\torchvision\datasets\lsun.py", line 5, in <module>import sixModuleNotFoundError: No module named 'six'<span class="err" <the="" above="" exception="" was="" the="" direct="" cause="" of="" following="" exception:<="" span="">>span class="err">Traceback (most recent call last):</span>File "C:\Python\Python314\Lib\site-packages\diffusers\utils\import_utils.py", line 1031, in _get_modulereturn importlib.import_module("." + module_name, self.__name__)~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "C:\Python\Python314\Lib\importlib\__init__.py", line 88, in import_modulereturn _bootstrap._gcd_import(name[level:], package, level)~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "<frozen importlib._bootstrap>", line 1398, in _gcd_importFile "<frozen importlib._bootstrap>", line 1371, in _find_and_loadFile "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlockedFile "<frozen importlib._bootstrap>", line 938, in _load_unlockedFile "<frozen importlib._bootstrap_external>", line 759, in exec_moduleFile "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removedFile "C:\Python\Python314\Lib\site-packages\diffusers\pipelines\stable_diffusion\pipeline_stable_diffusion.py", line 19, in <module>from transformers import CLIPImageProcessor, CLIPTextModel, CLIPTokenizer, CLIPVisionModelWithProjectionFile "C:\Python\Python314\Lib\site-packages\transformers\utils\import_utils.py", line 2314, in __getattr__raise ModuleNotFoundError(f"Could not import module '{name}'. Are this object's requirements defined correctly?") from eModuleNotFoundError: Could not import module 'CLIPImageProcessor'. Are this object's requirements defined correctly?<span class="err" <the="" above="" exception="" was="" the="" direct="" cause="" of="" following="" exception:<="" span="">>span class="err">Traceback (most recent call last):</span>File "C:\Users\okoll\AppData\Roaming\Aseprite\extensions\PixelAI\python\sd_server.py", line 19, in <module>from diffusers import StableDiffusionPipeline, StableDiffusionXLPipeline, AutoencoderKLFile "<frozen importlib._bootstrap>", line 1423, in _handle_fromlistFile "C:\Python\Python314\Lib\site-packages\diffusers\utils\import_utils.py", line 1022, in __getattr__value = getattr(module, name)File "C:\Python\Python314\Lib\site-packages\diffusers\utils\import_utils.py", line 1022, in __getattr__value = getattr(module, name)File "C:\Python\Python314\Lib\site-packages\diffusers\utils\import_utils.py", line 1021, in __getattr__module = self._get_module(self._class_to_module[name])File "C:\Python\Python314\Lib\site-packages\diffusers\utils\import_utils.py", line 1033, in _get_moduleraise RuntimeError(...<2 lines>...) from eRuntimeError: Failed to import diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion because of the following error (look up to see its traceback):Could not import module 'CLIPImageProcessor'. Are this object's requirements defined correctly?exited (code 1)
Viewing post in PixelAI - Local AI Pixel Art Directly in Aseprite comments
Right, the Helper detected your system Python 3.14. PixelAI’s local AI server doesn’t support Python 3.14 yet because some of the libraries don’t work correctly with it.
Because Python 3.14 was found first, the Helper didn’t install use PixelAI’s bundled Python 3.12.8 runtime. I’ll release a patch shortly so this won’t happen again, the Helper will use the correct bundled Python even if another Python version is already installed.
For now, you can either wait for the patch, or uninstall, remove Python 3.14 from PATH and then run Install / Verify Python again in the Helper so it does a clean setup with Python 3.12.8.