Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency error in Python 3.8: instructor #511

Open
evertonberz opened this issue Mar 12, 2024 · 3 comments
Open

Dependency error in Python 3.8: instructor #511

evertonberz opened this issue Mar 12, 2024 · 3 comments

Comments

@evertonberz
Copy link

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
Copy link

Same issue using python3.8

@bitcoinmeetups
Copy link

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

@Clarence666
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants