TheR1D / shell_gpt

A command-line productivity tool powered by AI large language models like GPT-4, will help you accomplish your tasks faster and more efficiently.
MIT License
8.84k stars 696 forks source link

Dependency error in Python 3.8: instructor #511

Open evertonberz opened 3 months ago

evertonberz commented 3 months ago

I am unable to install shell_gpt in Python 3.8. It seems instructor requires Python >=3.10: https://pypi.org/project/instructor/

evertonberz@LAPTOP:~$ python3 --version
Python 3.8.10

evertonberz@LAPTOP:~$ pip --version
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)

evertonberz@LAPTOP:~$ pip install shell-gpt
Collecting shell-gpt
  Using cached shell_gpt-1.4.0-py3-none-any.whl (29 kB)
Collecting click<9.0.0,>=7.1.1
  Using cached click-8.1.7-py3-none-any.whl (97 kB)
Collecting typer<1.0.0,>=0.7.0
  Using cached typer-0.9.0-py3-none-any.whl (45 kB)
Collecting distro<2.0.0,>=1.8.0
  Using cached distro-1.9.0-py3-none-any.whl (20 kB)
Collecting rich<14.0.0,>=13.1.0
  Using cached rich-13.7.1-py3-none-any.whl (240 kB)
Collecting openai<2.0.0,>=1.6.1
  Downloading openai-1.13.3-py3-none-any.whl (227 kB)
     |████████████████████████████████| 227 kB 2.0 MB/s
ERROR: Could not find a version that satisfies the requirement instructor<1.0.0,>=0.4.5 (from shell-gpt) (from versions: none)
ERROR: No matching distribution found for instructor<1.0.0,>=0.4.5 (from shell-gpt)

evertonberz@LAPTOP:~$ pip install instructor
ERROR: Could not find a version that satisfies the requirement instructor (from versions: none)
ERROR: No matching distribution found for instructor
fanghuaqi commented 2 months ago

Same issue using python3.8

bitcoinmeetups commented 2 months ago

Similar issue here. "Could not find a matching distribution". Debian (Termux).

Clarence666 commented 1 month ago

Collecting shell-gpt Downloading https://files.pythonhosted.org/packages/fd/02/1754b41fa07169955fa3fc1605ababdf5ee86d2d655a07314578aa22bebc/shell_gpt-1.4.3-py3-none-any.whl Collecting click<9.0.0,>=7.1.1 (from shell-gpt) Downloading https://files.pythonhosted.org/packages/4a/a8/0b2ced25639fb20cc1c9784de90a8c25f9504a7f18cd8b5397bd61696d7d/click-8.0.4-py3-none-any.whl (97kB) 100% |████████████████████████████████| 102kB 1.0MB/s Collecting openai<2.0.0,>=1.6.1 (from shell-gpt) Could not find a version that satisfies the requirement openai<2.0.0,>=1.6.1 (from shell-gpt) (from versions: 0.0.2, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.3.0, 0.4.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.7.0, 0.8.0, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.5) No matching distribution found for openai<2.0.0,>=1.6.1 (from shell-gpt)