You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-4Lines changed: 18 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -89,14 +89,28 @@ You can use the additional prompt feature by "prompt menu" right next to input f
89
89
1. git clone ~
90
90
2. cd pyqt-openai
91
91
3. pip install -r requirements.txt
92
-
4. cd pyqt_openai
93
-
5. You should put your api key in the line edit. You can get it in <ahref="https://platform.openai.com/account/api-keys">official site</a> of openai. Sign up and log in before you get it.
92
+
4. python setup.py install
93
+
5. cd pyqt_openai
94
+
6. You should put your api key in the line edit. You can get it in <ahref="https://platform.openai.com/account/api-keys">official site</a> of openai. Sign up and log in before you get it.
94
95
95
96
Be sure, this is a very important API key that belongs to you only, so you should remember it and keep it secure.
96
97
97
-
6. python main.py
98
+
7. python main.py
98
99
99
-
If installation doesn't work, you can contact me with bring up new issue in issue tab or check the troubleshooting below even it is only about very specific error.
100
+
If installation doesn't work, you can contact me with bring up new issue in issue tab or check the troubleshooting below even it is only about very specific error.
101
+
102
+
### Note
103
+
If you use Linux and see this error:
104
+
```
105
+
qt.qpa.plugin: could not load the qt platform plugin "xcb" in "" even though it was found
106
+
107
+
this application failed to start because no qt platform plugin could be initialized, reinstalling the application may fix this problem
108
+
```
109
+
110
+
run this command:
111
+
```
112
+
sudo apt-get install libxcb-xinerama0
113
+
```
100
114
101
115
## Troubleshooting
102
116
If you see this error while installing the openai package
0 commit comments