gpt4free icon indicating copy to clipboard operation
gpt4free copied to clipboard

windows python3.11 run error

Open recentcome opened this issue 1 year ago • 1 comments

File "D:\chatgptcode\gpt4free\g4f\typing.py", line 2, in <module>
  from typing import Any, AsyncGenerator, Generator, AsyncIterator, Iterator, NewType, Tuple, Union, List, Dict, Type, IO, Optional

ImportError: cannot import name 'Any' from partially initialized module 'typing' (most likely due to a circular import) (D:\chatgptcode\gpt4free\g4f\typing.py)

Remainder of file ignored Traceback (most recent call last): File "D:\chatgptcode\gpt4free\g4f\gui\run.py", line 1, in from .gui_parser import gui_parser ImportError: attempted relative import with no known parent package

recentcome avatar May 20 '24 10:05 recentcome

Weird. I use Python 3.11 too. Try using the .exe application from the release page.

hlohaus avatar May 20 '24 13:05 hlohaus

Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.

github-actions[bot] avatar May 28 '24 00:05 github-actions[bot]

Closing due to inactivity.

github-actions[bot] avatar Jun 27 '24 00:06 github-actions[bot]