Полная ошибка: Traceback (most recent call last):
File "D:\GPT 4\freegpt-webui\run.py", line 3, in
from server.bp import bp
File "D:\GPT 4\freegpt-webui\server\bp.py", line 1, in
from flask import Blueprint
ModuleNotFoundError: No module named 'flask'
Исправил все существующие ошибки. Появилась новая: Traceback (most recent call last):
File "D:\GPT 4\freegpt-webui\run.py", line 5, in
from server.backend import Backend_Api
File "D:\GPT 4\freegpt-webui\server\backend.py", line 3, in
from g4f import ChatCompletion
File "D:\GPT 4\freegpt-webui\g4f\__init__.py", line 2, in
from . import Provider
File "D:\GPT 4\freegpt-webui\g4f\Provider\__init__.py", line 2, in
from .Providers import (
File "D:\GPT 4\freegpt-webui\g4f\Provider\Providers\Bard.py", line 1, in
import os, requests, json, browser_cookie3, re, random
ModuleNotFoundError: No module named 'browser_cookie3'
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for lz4
Failed to build lz4
ERROR: Could not build wheels for lz4, which is required to install pyproject.toml-based projects
× Building wheel for lz4 (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-312
creating build\lib.win-amd64-cpython-312\lz4
copying lz4\version.py -> build\lib.win-amd64-cpython-312\lz4
copying lz4\__init__.py -> build\lib.win-amd64-cpython-312\lz4
creating build\lib.win-amd64-cpython-312\lz4\block
copying lz4\block\__init__.py -> build\lib.win-amd64-cpython-312\lz4\block
creating build\lib.win-amd64-cpython-312\lz4\frame
copying lz4\frame\__init__.py -> build\lib.win-amd64-cpython-312\lz4\frame
running build_ext
building 'lz4._version' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-buil...
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for lz4
Failed to build lz4
ERROR: Could not build wheels for lz4, which is required to install pyproject.toml-based projects