knrd1 / chatgpt

ChatGPT IRC bot
https://github.com/knrd1/chatgpt
MIT License
36 stars 7 forks source link

No matching distribution found for openai==0.28 #35

Open frhtvski opened 9 months ago

frhtvski commented 9 months ago

Pls help me.

I use Centos 8.

[root@ESf9hfSu ~]# python3 -V Python 3.6.8

[root@ESf9hfSu ~]# pip3 install openai==0.28 pyshorteners WARNING: Running pip install with root privileges is generally not a good idea. Try pip3 install --user instead. Collecting openai==0.28 Could not find a version that satisfies the requirement openai==0.28 (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==0.28

frhtvski commented 9 months ago

[23:19]» Giriş: GPT (AI@0dd.a4t.34.46.IP) [23:19]» GPT: naber [23:19]» IRC`den Çıktı: GPT (AI@0dd.a4t.34.46.IP) (Connection closed)

Traceback (most recent call last): File "chatgpt.py", line 126, in except openai.error.Timeout as e: AttributeError: module 'openai.error' has no attribute 'Timeout' [root@ESf9hfSu chatgpt]#

knrd1 commented 1 month ago

Im going to re-write the ChatGPT bot to use latest library and new API syntax.