YarmolenkoD / notpixel

Python automation tool for interact with telegram Notpixel bot. (Auto refs, auto drawing, auto tasks, multithreading, proxy, pyrogram sessions)
https://t.me/notpixel/app?startapp=f355876562
38 stars 2 forks source link

Ошибка при установке TgCrypto #11

Closed mollyxs closed 9 hours ago

mollyxs commented 11 hours ago
Building wheels for collected packages: TgCrypto
  Building wheel for TgCrypto (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for TgCrypto (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [19 lines of output]
      C:\Users\Administrator\AppData\Local\Temp\pip-build-env-6ki63y23\overlay\Lib\site-packages\setuptools\_distutils\dist.py:261: UserWarning: Unknown distribution option: 'test_suite'
        warnings.warn(msg)
      running bdist_wheel
      running build
      running build_py
      creating build\lib.win-amd64-cpython-312\tests
      copying tests\__init__.py -> build\lib.win-amd64-cpython-312\tests
      creating build\lib.win-amd64-cpython-312\tests\cbc
      copying tests\cbc\test_cbc.py -> build\lib.win-amd64-cpython-312\tests\cbc
      copying tests\cbc\__init__.py -> build\lib.win-amd64-cpython-312\tests\cbc
      creating build\lib.win-amd64-cpython-312\tests\ctr
      copying tests\ctr\test_ctr.py -> build\lib.win-amd64-cpython-312\tests\ctr
      copying tests\ctr\__init__.py -> build\lib.win-amd64-cpython-312\tests\ctr
      creating build\lib.win-amd64-cpython-312\tests\ige
      copying tests\ige\test_ige.py -> build\lib.win-amd64-cpython-312\tests\ige
      copying tests\ige\__init__.py -> build\lib.win-amd64-cpython-312\tests\ige
      running build_ext
      building 'tgcrypto' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for TgCrypto
Failed to build TgCrypto
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (TgCrypto)
Copying configuration file
Скопировано файлов:         1.
"git" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
"git" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
"git" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
"git" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
"git" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
Starting the bot...
Traceback (most recent call last):
  File "c:\Users\Administrator\Downloads\notpixel-master\main.py", line 4, in <module>
    from bot.utils.launcher import process
  File "c:\Users\Administrator\Downloads\notpixel-master\bot\utils\__init__.py", line 1, in <module>
    from .logger import logger, info, warning, debug, success, error, critical
  File "c:\Users\Administrator\Downloads\notpixel-master\bot\utils\logger.py", line 5, in <module>
    from loguru import logger
ModuleNotFoundError: No module named 'loguru'
done
PLEASE EDIT .ENV FILE
Для продолжения нажмите любую клавишу . . .

Устанавливал Microsoft Visual C++ 14.0, не помогло

mollyxs commented 9 hours ago

@mollyxs Follow instructions for windows https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

Я пофиксил. Оказывается tgcrypto работает только до версии python 3.11, у меня 3.12 была.

YarmolenkoD commented 9 hours ago

@mollyxs Спасибо за фидбек