[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
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]#
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