Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

SyntaxError: invalid hexadecimal literal #169

Open
Sarabanga opened this issue Aug 3, 2023 · 0 comments
Open

SyntaxError: invalid hexadecimal literal #169

Sarabanga opened this issue Aug 3, 2023 · 0 comments

Comments

@Sarabanga
Copy link

@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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant