HamsterKombatBot icon indicating copy to clipboard operation
HamsterKombatBot copied to clipboard

opening INSTALL.bat and the error comes out.

Open EronPavel opened this issue 1 year ago • 1 comments

opening INSTALL.bat and the error comes out.

Creating virtual environment... Activating virtual environment... Installing dependencies... Collecting aiohttp==3.9.5 (from -r requirements.txt (line 1)) Using cached aiohttp-3.9.5-cp313-cp313-win_amd64.whl Collecting aiohttp-proxy==0.1.2 (from -r requirements.txt (line 2)) Using cached aiohttp_proxy-0.1.2-py3-none-any.whl.metadata (2.7 kB) Collecting aiosignal==1.3.1 (from -r requirements.txt (line 3)) Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB) Collecting annotated-types==0.7.0 (from -r requirements.txt (line 4)) Using cached annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB) Collecting async-timeout==4.0.3 (from -r requirements.txt (line 5)) Using cached async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB) Collecting attrs==23.2.0 (from -r requirements.txt (line 6)) Using cached attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB) Collecting better-proxy==1.2.0 (from -r requirements.txt (line 7)) Using cached better_proxy-1.2.0-py3-none-any.whl.metadata (3.2 kB) Collecting colorama==0.4.6 (from -r requirements.txt (line 8)) Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB) Collecting fake-useragent==1.5.1 (from -r requirements.txt (line 9)) Using cached fake_useragent-1.5.1-py3-none-any.whl.metadata (15 kB) Collecting frozenlist==1.4.1 (from -r requirements.txt (line 10)) Using cached frozenlist-1.4.1-py3-none-any.whl.metadata (12 kB) Collecting greenlet==3.0.3 (from -r requirements.txt (line 11)) Using cached greenlet-3.0.3.tar.gz (182 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting idna==3.7 (from -r requirements.txt (line 12)) Using cached idna-3.7-py3-none-any.whl.metadata (9.9 kB) Collecting loguru==0.7.2 (from -r requirements.txt (line 13)) Using cached loguru-0.7.2-py3-none-any.whl.metadata (23 kB) Collecting multidict==6.0.5 (from -r requirements.txt (line 14)) Using cached multidict-6.0.5-py3-none-any.whl.metadata (4.2 kB) Collecting playwright==1.45.1 (from -r requirements.txt (line 15)) Using cached playwright-1.45.1-py3-none-win_amd64.whl.metadata (3.5 kB) Collecting pyaes==1.6.1 (from -r requirements.txt (line 16)) Using cached pyaes-1.6.1-py3-none-any.whl Collecting pydantic==2.8.2 (from -r requirements.txt (line 17)) Using cached pydantic-2.8.2-py3-none-any.whl.metadata (125 kB) Collecting pydantic-settings==2.3.4 (from -r requirements.txt (line 18)) Using cached pydantic_settings-2.3.4-py3-none-any.whl.metadata (3.3 kB) Collecting pydantic_core==2.20.1 (from -r requirements.txt (line 19)) Using cached pydantic_core-2.20.1-cp313-none-win_amd64.whl.metadata (6.7 kB) Collecting pyee==11.1.0 (from -r requirements.txt (line 20)) Using cached pyee-11.1.0-py3-none-any.whl.metadata (2.8 kB) Collecting Pyrogram==2.0.106 (from -r requirements.txt (line 21)) Using cached Pyrogram-2.0.106-py3-none-any.whl.metadata (4.4 kB) Collecting PySocks==1.7.1 (from -r requirements.txt (line 22)) Using cached PySocks-1.7.1-py3-none-any.whl.metadata (13 kB) Collecting python-dotenv==1.0.1 (from -r requirements.txt (line 23)) Using cached python_dotenv-1.0.1-py3-none-any.whl.metadata (23 kB) Collecting TgCrypto==1.2.5 (from -r requirements.txt (line 24)) Using cached TgCrypto-1.2.5-cp313-cp313-win_amd64.whl Collecting typing_extensions==4.12.2 (from -r requirements.txt (line 25)) Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB) Collecting win32-setctime==1.1.0 (from -r requirements.txt (line 26)) Using cached win32_setctime-1.1.0-py3-none-any.whl.metadata (2.3 kB) Collecting yarl==1.9.4 (from -r requirements.txt (line 27)) Using cached yarl-1.9.4-py3-none-any.whl.metadata (31 kB) Using cached aiohttp_proxy-0.1.2-py3-none-any.whl (12 kB) Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Using cached annotated_types-0.7.0-py3-none-any.whl (13 kB) Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB) Using cached attrs-23.2.0-py3-none-any.whl (60 kB) Using cached better_proxy-1.2.0-py3-none-any.whl (3.8 kB) Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB) Using cached fake_useragent-1.5.1-py3-none-any.whl (17 kB) Using cached frozenlist-1.4.1-py3-none-any.whl (11 kB) Using cached idna-3.7-py3-none-any.whl (66 kB) Using cached loguru-0.7.2-py3-none-any.whl (62 kB) Using cached multidict-6.0.5-py3-none-any.whl (9.7 kB) Using cached playwright-1.45.1-py3-none-win_amd64.whl (29.7 MB) Using cached pydantic-2.8.2-py3-none-any.whl (423 kB) Using cached pydantic_settings-2.3.4-py3-none-any.whl (22 kB) Using cached pydantic_core-2.20.1-cp313-none-win_amd64.whl (1.9 MB) Using cached pyee-11.1.0-py3-none-any.whl (15 kB) Using cached Pyrogram-2.0.106-py3-none-any.whl (3.6 MB) Using cached PySocks-1.7.1-py3-none-any.whl (16 kB) Using cached python_dotenv-1.0.1-py3-none-any.whl (19 kB) Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB) Using cached win32_setctime-1.1.0-py3-none-any.whl (3.6 kB) Using cached yarl-1.9.4-py3-none-any.whl (31 kB) Building wheels for collected packages: greenlet Building wheel for greenlet (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for greenlet (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [117 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-313 creating build\lib.win-amd64-cpython-313\greenlet copying src\greenlet_init_.py -> build\lib.win-amd64-cpython-313\greenlet creating build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform_init_.py -> build\lib.win-amd64-cpython-313\greenlet\platform creating build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\fail_clearing_run_switches.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\fail_cpp_exception.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\fail_initialstub_already_started.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\fail_slp_switch.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\fail_switch_three_greenlets.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\fail_switch_three_greenlets2.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\fail_switch_two_greenlets.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\leakcheck.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\test_contextvars.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\test_cpp.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\test_extension_interface.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\test_gc.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\test_generator.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\test_generator_nested.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\test_greenlet.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\test_greenlet_trash.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\test_leaks.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\test_stack_saved.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\test_throw.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\test_tracing.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\test_version.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests\test_weakref.py -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests_init_.py -> build\lib.win-amd64-cpython-313\greenlet\tests running egg_info writing src\greenlet.egg-info\PKG-INFO writing dependency_links to src\greenlet.egg-info\dependency_links.txt writing requirements to src\greenlet.egg-info\requires.txt writing top-level names to src\greenlet.egg-info\top_level.txt reading manifest file 'src\greenlet.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'benchmarks*.json' no previously-included directories found matching 'docs_build' warning: no files found matching '.py' under directory 'appveyor' warning: no previously-included files matching '.pyc' found anywhere in distribution warning: no previously-included files matching '.pyd' found anywhere in distribution warning: no previously-included files matching '.so' found anywhere in distribution warning: no previously-included files matching '.coverage' found anywhere in distribution adding license file 'LICENSE' adding license file 'LICENSE.PSF' adding license file 'AUTHORS' writing manifest file 'src\greenlet.egg-info\SOURCES.txt' copying src\greenlet\TBrokenGreenlet.cpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\TExceptionState.cpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\TGreenlet.cpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\TGreenletGlobals.cpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\TMainGreenlet.cpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\TPythonState.cpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\TStackState.cpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\TThreadStateDestroy.cpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\TUserGreenlet.cpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\greenlet.cpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\greenlet.h -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\greenlet_allocator.hpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\greenlet_compiler_compat.hpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\greenlet_cpython_add_pending.hpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\greenlet_cpython_compat.hpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\greenlet_exceptions.hpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\greenlet_greenlet.hpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\greenlet_internal.hpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\greenlet_refs.hpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\greenlet_slp_switch.hpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\greenlet_thread_state.hpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\greenlet_thread_state_dict_cleanup.hpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\greenlet_thread_support.hpp -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\slp_platformselect.h -> build\lib.win-amd64-cpython-313\greenlet copying src\greenlet\platform\setup_switch_x64_masm.cmd -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_aarch64_gcc.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_alpha_unix.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_amd64_unix.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_arm32_gcc.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_arm32_ios.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_arm64_masm.asm -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_arm64_masm.obj -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_arm64_msvc.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_csky_gcc.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_loongarch64_linux.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_m68k_gcc.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_mips_unix.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_ppc64_aix.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_ppc64_linux.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_ppc_aix.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_ppc_linux.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_ppc_macosx.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_ppc_unix.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_riscv_unix.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_s390_unix.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_sparc_sun_gcc.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_x32_unix.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_x64_masm.asm -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_x64_masm.obj -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_x64_msvc.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_x86_msvc.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\platform\switch_x86_unix.h -> build\lib.win-amd64-cpython-313\greenlet\platform copying src\greenlet\tests_test_extension.c -> build\lib.win-amd64-cpython-313\greenlet\tests copying src\greenlet\tests_test_extension_cpp.cpp -> build\lib.win-amd64-cpython-313\greenlet\tests running build_ext building 'greenlet._greenlet' extension creating build\temp.win-amd64-cpython-313 creating build\temp.win-amd64-cpython-313\Release creating build\temp.win-amd64-cpython-313\Release\src creating build\temp.win-amd64-cpython-313\Release\src\greenlet "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWIN32=1 -IC:\Users\Pavel\Desktop\HamsterKombatBot-main\venv\include -IC:\Users\Pavel\AppData\Local\Programs\Python\Python313\include -IC:\Users\Pavel\AppData\Local\Programs\Python\Python313\Include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\winrt" /EHsc /Tpsrc/greenlet/greenlet.cpp /Fobuild\temp.win-amd64-cpython-313\Release\src/greenlet/greenlet.obj /EHsr /GT greenlet.cpp c:\users\pavel\appdata\local\temp\pip-install-e4zj7ick\greenlet_47adb9ef478a42da84dfd19d679c063c\src\greenlet\greenlet_refs.hpp(512): warning C4521: "greenlet::refs::_OwnedGreenlet<PyGreenlet,void greenlet::refs::MainGreenletExactChecker(void *)>": § ¤ ­л ­ҐбЄ®«мЄ® Є®­бвагЄв®а®ў Є®ЇЁ© c:\users\pavel\appdata\local\temp\pip-install-e4zj7ick\greenlet_47adb9ef478a42da84dfd19d679c063c\src\greenlet\greenlet_refs.hpp(585): note: ‘¬. ббл«Єг ­  Є®¬ЇЁ«ЁагҐ¬л© нЄ§Ґ¬Ї«па "<ЌҐв ¤ ­­ле>" Є« бб  <ЌҐв ¤ ­­ле> C:\Users\Pavel\AppData\Local\Programs\Python\Python313\include\internal/pycore_frame.h(8): fatal error C1189: #error: "this header requires Py_BUILD_CORE define" error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit code 2 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for greenlet Failed to build greenlet ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (greenlet) Installing playwright... "playwright" не является внутренней или внешней командой, исполняемой программой или пакетным файлом. Copying .env-example to .env... Скопировано файлов: 1. Please edit the .env file to add your API_ID and API_HASH.

EronPavel avatar Sep 11 '24 18:09 EronPavel

Используй python 3.11

libx264 avatar Sep 12 '24 12:09 libx264