ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

How to Install Shell-GPT in Ubuntu Linux Terminal (ChatGPT)

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 พ.ค. 2023
  • In this video I go over the steps to install shell-gpt which is a python program that allows you to interact with openai which is what chatgpt is based on. I go over installation and configuration. Finally, I show you how to run shell-gpt commands in the terminal
    API KEY
    platform.opena...

ความคิดเห็น • 20

  • @MrSpartaa
    @MrSpartaa ปีที่แล้ว +2

    8:06 this is so satisfying

  • @user-jx5ce3pd9b
    @user-jx5ce3pd9b 8 หลายเดือนก่อน +2

    Hey men. I'm getting too many requests error when I run the sgpt -s "write a shell script for ......................"

  • @casualgamer3689
    @casualgamer3689 8 หลายเดือนก่อน

    Ollama from the shell is also cool, especially the ucensored LLMs, super easy. It does not work in the same way with commands and such but it works with mistral, llama2 and lama2-uncensored etc

    • @FrankTrezza81
      @FrankTrezza81 2 หลายเดือนก่อน

      like with osh?

  • @thelifeskills
    @thelifeskills ปีที่แล้ว +2

    throwing erro - "too many request for url.." Any solution?

    • @erfanaliabadian
      @erfanaliabadian ปีที่แล้ว

      I have the same problem, it seems you must paid for API and your free trial finished.
      if you find any solution, please reply to this message.

    • @joseantoniogarciarivas8042
      @joseantoniogarciarivas8042 ปีที่แล้ว

      If you remain on gtp3.5 is really cheap.

    • @guillermoleonardomontanome9101
      @guillermoleonardomontanome9101 ปีที่แล้ว

      I've the same problem

    • @JanCharamza
      @JanCharamza 11 หลายเดือนก่อน

      If it's because of the API key, try to generate a new one after the payment. Firstly, I generated the key and paid afterwards and it didn't work so I generated a new one and it works now.

    • @jennilthiyam1261
      @jennilthiyam1261 10 หลายเดือนก่อน +1

      @@JanCharamza How to change the key. python3 sgpt does not provide me the option to re enter the Key. where shall I re enter the new key?

  • @kevinayala2256
    @kevinayala2256 ปีที่แล้ว +1

    I type python 3 sgpt and is says error missing string prompt. Any idea?

    • @markgreen2170
      @markgreen2170 ปีที่แล้ว +1

      it's a path issue and there is no space between python and 3 zb. python3. however, sgpt is an executable file so ,you don't need to explicitly invoke the interpreter... just qualify with the full path. in my case ~/.local/bin/sgpt hope that helps,

    • @markgreen2170
      @markgreen2170 11 หลายเดือนก่อน

      @@KAIZHU.-wf8rx my sgpt script is in this directory: ~/.local/bin/sgpt to run the script, the directory has to be set in the path variable or the whole path to the file has to be included in the command to invoke: ~/.local/bin/sgpt
      echo $PATH case sensitive, will tell what you path is set
      some times, when you download files you have to reset permissions...
      ls -l ~/.local/bin/sgpt ls -l will give a long listing of that r is read, w is write and x execute -rwxrwxr-x 1 so as you can see, I have execute permission, if you don't you can run chmod +x sgpt (first change to the directory where your script is or include the full path to the file: chmod +x ~/.local/bin/sgpt) to set execute permission on the file another thing that tells you the file does not need invocation as an argument to the interpreter is the first line of the script: #!/usr/bin/python3 the 'shebang' #! tells you it can run as a stand alone script...

  • @serggom
    @serggom 7 หลายเดือนก่อน

    I get the error: File "/home/my_user/.local/bin/sgpt", line 5, in from sgpt import cli
    I use python3.12.1 and pip3 version.
    Can you help me please? Thank you so much

    • @MgBot-eb9wm
      @MgBot-eb9wm 5 หลายเดือนก่อน

      Did you find a solution?

  • @ramidaoud3776
    @ramidaoud3776 ปีที่แล้ว

    api key for gpt 4 or 3.

  • @Prashant.thomas
    @Prashant.thomas ปีที่แล้ว +1

    works fine

  • @user-xw6ns6ih5f
    @user-xw6ns6ih5f 4 หลายเดือนก่อน

    NOTE : shell-gpt is not free so rip for those who are getting error 401
    includes me