SyntaxError: invalid hexadecimal literal
Sarabanga opened this issue · 0 comments
Sarabanga commented
@radiohub:/chatGPT/freegpt-webui# python3 run.py
Traceback (most recent call last):
File "/chatGPT/freegpt-webui/run.py", line 5, in <module>
from server.backend import Backend_Api
File "/chatGPT/freegpt-webui/server/backend.py", line 3, in <module>
from g4f import ChatCompletion
File "/chatGPT/freegpt-webui/g4f/__init__.py", line 2, in <module>
from . import Provider
File "/chatGPT/freegpt-webui/g4f/Provider/__init__.py", line 2, in <module>
from .Providers import (
File "/chatGPT/freegpt-webui/g4f/Provider/Providers/GetGpt.py", line 5, in <module>
from Crypto.Cipher import AES
File "/usr/local/lib/python3.10/dist-packages/Crypto/Cipher/__init__.py", line 82, in <module>
from Crypto.Cipher._mode_ctr import _create_ctr_cipher
File "/usr/local/lib/python3.10/dist-packages/Crypto/Cipher/_mode_ctr.py", line 35, in <module>
from Crypto.Util.number import long_to_bytes
File "/usr/local/lib/python3.10/dist-packages/Crypto/Util/number.py", line 398
s = pack('>I', n & 0xffffffffL) + s
^
SyntaxError: invalid hexadecimal literal