python-tgpt icon indicating copy to clipboard operation
python-tgpt copied to clipboard

[BUG]: Error on launching after clean installation

Open sunwaterdev opened this issue 1 year ago • 2 comments

Describe the bug Error on installation

To Reproduce pip install pytgpt

Expected behavior Error on launching: Traceback (most recent call last): File "/home/jules/.local/bin/pytgpt", line 5, in from pytgpt.console import main File "/home/jules/.local/share/pipx/venvs/python-tgpt/lib/python3.12/site-packages/pytgpt/init.py", line 2, in import g4f File "/home/jules/.local/share/pipx/venvs/python-tgpt/lib/python3.12/site-packages/g4f/init.py", line 6, in from .models import Model File "/home/jules/.local/share/pipx/venvs/python-tgpt/lib/python3.12/site-packages/g4f/models.py", line 5, in from .Provider import IterListProvider, ProviderType File "/home/jules/.local/share/pipx/venvs/python-tgpt/lib/python3.12/site-packages/g4f/Provider/init.py", line 35, in from .HuggingChat import HuggingChat File "/home/jules/.local/share/pipx/venvs/python-tgpt/lib/python3.12/site-packages/g4f/Provider/HuggingChat.py", line 5, in from curl_cffi import requests as cf_reqs ModuleNotFoundError: No module named 'curl_cffi'

Desktop (please complete the following information):

  • OS [e.g. Windows, Mac OS, Linux]: Ubuntu
  • Python-tgpt version [v0.5.3]: 0.7
  • Binary config [x86, x64, x32]: ?
  • Python version [If running from source]: running from source

sunwaterdev avatar Aug 04 '24 20:08 sunwaterdev

Try reinstalling alongside all dependencies pip install python-tgpt[all]

Simatwa avatar Aug 14 '24 08:08 Simatwa

Yep, tried bu the issue is the same

sunwaterdev avatar Aug 19 '24 21:08 sunwaterdev

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

github-actions[bot] avatar Sep 03 '24 01:09 github-actions[bot]

Closing due to inactivity.

github-actions[bot] avatar Sep 18 '24 01:09 github-actions[bot]