Package Details: shellgpt-git 1.0.1.r1.g4b670cf-1

Git Clone URL: (read-only, click to copy)
Package Base: shellgpt-git
Description: A command-line productivity tool powered by OpenAI's ChatGPT (GPT-3.5)
Upstream URL:
Keywords: chatgpt openai shellgpt
Licenses: MIT
Provides: shellgpt-git
Submitter: Feresey
Maintainer: Feresey
Last Packager: Feresey
Votes: 5
Popularity: 0.54
First Submitted: 2023-03-25 13:05 (UTC)
Last Updated: 2024-01-07 07:16 (UTC)

Latest Comments

MokaCubrew commented on 2024-02-13 07:22 (UTC)

Hello. Thank you for your maintenance efforts. I found that the 'litellm' dependency was added in the latest version (1.3.0) as of now.

Feresey commented on 2024-01-07 07:21 (UTC) (edited on 2024-01-07 07:21 (UTC) by Feresey)

Yep, that was missing dependency python-openai. I am not developer that created, I just maintain the AUR package.

Feresey commented on 2024-01-07 04:49 (UTC)

I will look at this today

MokaCubrew commented on 2024-01-07 04:45 (UTC)

Hello. Is anyone experiencing the same error as me below? Is there anything else essential that needs to be installed?

Traceback (most recent call last):
  File "/usr/bin/sgpt", line 5, in <module>
    from sgpt import cli
  File "/usr/lib/python3.11/site-packages/sgpt/", line 1, in <module>
    from .app import main as main
  File "/usr/lib/python3.11/site-packages/sgpt/", line 10, in <module>
    from sgpt.handlers.chat_handler import ChatHandler
  File "/usr/lib/python3.11/site-packages/sgpt/handlers/", line 11, in <module>
    from .handler import Handler
  File "/usr/lib/python3.11/site-packages/sgpt/handlers/", line 5, in <module>
    from openai import OpenAI
ModuleNotFoundError: No module named 'openai'

Feresey commented on 2023-06-19 20:33 (UTC)

@SanPioneer, thanks!

SanPioneer commented on 2023-05-08 22:29 (UTC)

You also need python-typing_extensions

Feresey commented on 2023-04-20 19:17 (UTC)

@jcassee, Thank you for your contribution!

jcassee commented on 2023-04-20 18:36 (UTC)

Hi, not sure how to contribute another way, but I used this patch to build the latest version of shellgpt:

diff --git a/PKGBUILD b/PKGBUILD
index a1c0ce9..b4fddcc 100644
@@ -9,7 +9,11 @@ arch=('any')
+    'git'
+    'python'
+    'python-hatchling'
@@ -23,10 +27,16 @@ depends=(

+build() {
+    cd ${srcdir}/${_pkgname}
+    python -m build .
 package() {
     cd ${srcdir}/${_pkgname}

+    python -m installer --destdir="$pkgdir" dist/*.whl
     install -D -m644 -t "${pkgdir}/usr/share/licenses/${_pkgname}" LICENSE
     install -D -m644 -t "${pkgdir}/usr/share/doc/${pkgname}"
-    python ./ install --root=${pkgdir} --prefix=/usr --optimize=1