【hexo系列】04.使用qexo管理hexo

环境

1
2
3
[root@ningan ~]# uname -a
Linux ningan 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

安装

linux下通过docker安装mysql

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[root@ningan kubeconfig]# docker search mysql
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
mysql MySQL is a widely used, open-source relation… 15461 [OK]
mysql/mysql-server Optimized MySQL Server Docker images. Create… 1023 [OK]
bitnami/mysql Bitnami container image for MySQL 118 [OK]
mysql/mysql-cluster Experimental MySQL Cluster Docker images. Cr… 100
ubuntu/mysql MySQL open source fast, stable, multi-thread… 65
circleci/mysql MySQL is a widely used, open-source relation… 30
mysql/mysql-router MySQL Router provides transparent routing be… 28
rapidfort/mysql RapidFort optimized, hardened image for MySQL 26
google/mysql MySQL server for Google Compute Engine 25 [OK]
cimg/mysql 3
alpine/mysql mysql client 3
datajoint/mysql MySQL image pre-configured to work smoothly … 2 [OK]
ilios/mysql Mysql configured for running Ilios 1 [OK]
mysql/mysql-operator MySQL Operator for Kubernetes 1
jumpserver/mysql 1
elestio/mysql Mysql, verified and packaged by Elestio 1
ddev/mysql ARM64 base images for ddev-dbserver-mysql-8.… 1
eclipse/mysql Mysql 5.7, curl, rsync 1 [OK]
vitess/mysql Lightweight image to run MySQL with Vitess 1
bitnamicharts/mysql Bitnami Helm chart for MySQL 0
corpusops/mysql https://github.com/corpusops/docker-images/ 0
javanile/mysql MySQL for development 0
vulhub/mysql 0
docksal/mysql MySQL service images for Docksal - https://d… 0
mirantis/mysql 0
[root@ningan kubeconfig]#
[root@ningan kubeconfig]#
[root@ningan kubeconfig]# docker pull mysql
Using default tag: latest
latest: Pulling from library/mysql
eba3c26198b7: Pull complete
97f7c8c33abe: Pull complete
aa23d877fa04: Pull complete
a143609ddd2d: Pull complete
78308a3437c4: Pull complete
c0880e4b3737: Pull complete
4bab267f9ce1: Pull complete
e575f6d9b17a: Pull complete
607f86c00053: Pull complete
cd68caa5febe: Pull complete
Digest: sha256:fd8d1b4e287c49e1e35eb5a103f337111947662130eb8a3e6c3e823813f47f7d
Status: Downloaded newer image for mysql:latest
docker.io/library/mysql:latest
[root@ningan kubeconfig]#
[root@ningan kubeconfig]#
[root@ningan kubeconfig]#
[root@ningan kubeconfig]# docker run -p 3306:3306 --name qexo -e MYSQL_ROOT_PASSWORD=123456 -d mysql
933dad3ceaa45cee703201fd77397affbef16e531982c8974bfdda577b8d8d36
[root@ningan kubeconfig]#
[root@ningan kubeconfig]#
[root@ningan kubeconfig]#
[root@ningan kubeconfig]# netstat -nltp |grep 3306
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 13220/docker-proxy
tcp6 0 0 :::3306

linux下安装qexo

主线:安装

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
[root@ningan ~]# wget https://github.com/Qexo/Qexo/archive/refs/tags/3.4.1.tar.gz
--2024-11-01 04:04:55-- https://github.com/Qexo/Qexo/archive/refs/tags/3.4.1.tar.gz
Connecting to 192.168.20.20:7890... connected.
Proxy request sent, awaiting response... 302 Found
Location: https://codeload.github.com/Qexo/Qexo/tar.gz/refs/tags/3.4.1 [following]
--2024-11-01 04:04:55-- https://codeload.github.com/Qexo/Qexo/tar.gz/refs/tags/3.4.1
Connecting to 192.168.20.20:7890... connected.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘3.4.1.tar.gz’

3.4.1.tar.gz [ <=> ] 186.99K --.-KB/s in 0.1s

2024-11-01 04:04:56 (1.79 MB/s) - ‘3.4.1.tar.gz’ saved [191477]

[root@ningan ~]#
[root@ningan ~]#
[root@ningan ~]#
[root@ningan ~]# tar -zxvf 3.4.1.tar.gz
Qexo-3.4.1/
Qexo-3.4.1/.dockerignore
Qexo-3.4.1/.env.example
Qexo-3.4.1/.github/
Qexo-3.4.1/.github/ISSUE_TEMPLATE/
Qexo-3.4.1/.github/ISSUE_TEMPLATE/bug_report.yml
Qexo-3.4.1/.github/ISSUE_TEMPLATE/config.yml
Qexo-3.4.1/.gitignore
Qexo-3.4.1/Dockerfile
Qexo-3.4.1/Dockerfile_aio_sqlite_hexo
Qexo-3.4.1/LICENSE
Qexo-3.4.1/Makefile
Qexo-3.4.1/Pipfile
Qexo-3.4.1/Pipfile.lock
Qexo-3.4.1/README.md
Qexo-3.4.1/core/
Qexo-3.4.1/core/__init__.py
Qexo-3.4.1/core/asgi.py
Qexo-3.4.1/core/qexoSettings.py
Qexo-3.4.1/core/settings.py
Qexo-3.4.1/core/urls.py
Qexo-3.4.1/core/wsgi.py
Qexo-3.4.1/docker-compose.yaml
Qexo-3.4.1/hexoweb/
Qexo-3.4.1/hexoweb/__init__.py
Qexo-3.4.1/hexoweb/api.py
Qexo-3.4.1/hexoweb/apps.py
Qexo-3.4.1/hexoweb/exceptions.py
Qexo-3.4.1/hexoweb/functions.py
Qexo-3.4.1/hexoweb/libs/
Qexo-3.4.1/hexoweb/libs/__init__.py
Qexo-3.4.1/hexoweb/libs/django_psdb_engine/
Qexo-3.4.1/hexoweb/libs/django_psdb_engine/__init__.py
Qexo-3.4.1/hexoweb/libs/django_psdb_engine/base.py
Qexo-3.4.1/hexoweb/libs/django_psdb_engine/features.py
Qexo-3.4.1/hexoweb/libs/elevator/
Qexo-3.4.1/hexoweb/libs/elevator/__init__.py
Qexo-3.4.1/hexoweb/libs/elevator/elevator.py
Qexo-3.4.1/hexoweb/libs/elevator/updater/
Qexo-3.4.1/hexoweb/libs/elevator/updater/2_5_0.py
Qexo-3.4.1/hexoweb/libs/elevator/updater/2_5_1.py
Qexo-3.4.1/hexoweb/libs/elevator/updater/2_7_0.py
Qexo-3.4.1/hexoweb/libs/elevator/updater/3_1_1.py
Qexo-3.4.1/hexoweb/libs/i18n/
Qexo-3.4.1/hexoweb/libs/i18n/__init__.py
Qexo-3.4.1/hexoweb/libs/i18n/core.py
Qexo-3.4.1/hexoweb/libs/i18n/exceptions.py
Qexo-3.4.1/hexoweb/libs/i18n/languages/
Qexo-3.4.1/hexoweb/libs/i18n/languages/__init__.py
Qexo-3.4.1/hexoweb/libs/i18n/languages/en_UK.py
Qexo-3.4.1/hexoweb/libs/i18n/languages/en_US.py
Qexo-3.4.1/hexoweb/libs/i18n/languages/fr_FR.py
Qexo-3.4.1/hexoweb/libs/i18n/languages/ja_JP.py
Qexo-3.4.1/hexoweb/libs/i18n/languages/ko_KR.py
Qexo-3.4.1/hexoweb/libs/i18n/languages/zh_CN.py
Qexo-3.4.1/hexoweb/libs/i18n/languages/zh_TW.py
Qexo-3.4.1/hexoweb/libs/image/
Qexo-3.4.1/hexoweb/libs/image/__init__.py
Qexo-3.4.1/hexoweb/libs/image/core.py
Qexo-3.4.1/hexoweb/libs/image/exceptions.py
Qexo-3.4.1/hexoweb/libs/image/providers/
Qexo-3.4.1/hexoweb/libs/image/providers/__init__.py
Qexo-3.4.1/hexoweb/libs/image/providers/alioss.py
Qexo-3.4.1/hexoweb/libs/image/providers/custom.py
Qexo-3.4.1/hexoweb/libs/image/providers/dogecloudoss.py
Qexo-3.4.1/hexoweb/libs/image/providers/ftp.py
Qexo-3.4.1/hexoweb/libs/image/providers/gitHub.py
Qexo-3.4.1/hexoweb/libs/image/providers/s3.py
Qexo-3.4.1/hexoweb/libs/image/providers/upyun_storage.py
Qexo-3.4.1/hexoweb/libs/image/replace.py
Qexo-3.4.1/hexoweb/libs/onepush/
Qexo-3.4.1/hexoweb/libs/onepush/__init__.py
Qexo-3.4.1/hexoweb/libs/onepush/__version__.py
Qexo-3.4.1/hexoweb/libs/onepush/core.py
Qexo-3.4.1/hexoweb/libs/onepush/exceptions.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/
Qexo-3.4.1/hexoweb/libs/onepush/providers/__init__.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/bark.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/custom.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/dingtalk.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/discord.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/gocqhttp.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/gotify.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/lark.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/pushdeer.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/pushplus.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/qmsg.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/serverchan.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/serverchanturbo.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/smtp.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/telegram.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/wechatworkapp.py
Qexo-3.4.1/hexoweb/libs/onepush/providers/wechatworkbot.py
Qexo-3.4.1/hexoweb/libs/platforms/
Qexo-3.4.1/hexoweb/libs/platforms/__init__.py
Qexo-3.4.1/hexoweb/libs/platforms/configs/
Qexo-3.4.1/hexoweb/libs/platforms/configs/__init__.py
Qexo-3.4.1/hexoweb/libs/platforms/configs/hexo.py
Qexo-3.4.1/hexoweb/libs/platforms/configs/hugo.py
Qexo-3.4.1/hexoweb/libs/platforms/configs/valaxy.py
Qexo-3.4.1/hexoweb/libs/platforms/configs/vitepress.py
Qexo-3.4.1/hexoweb/libs/platforms/configs/vuepress.py
Qexo-3.4.1/hexoweb/libs/platforms/core.py
Qexo-3.4.1/hexoweb/libs/platforms/exceptions.py
Qexo-3.4.1/hexoweb/libs/platforms/providers/
Qexo-3.4.1/hexoweb/libs/platforms/providers/__init__.py
Qexo-3.4.1/hexoweb/libs/platforms/providers/gitHub.py
Qexo-3.4.1/hexoweb/libs/platforms/providers/gitLab.py
Qexo-3.4.1/hexoweb/libs/platforms/providers/local.py
Qexo-3.4.1/hexoweb/migrations/
Qexo-3.4.1/hexoweb/migrations/0001_initial.py
Qexo-3.4.1/hexoweb/migrations/0002_postmodel.py
Qexo-3.4.1/hexoweb/migrations/0003_imagemodel_deleteconfig.py
Qexo-3.4.1/hexoweb/migrations/__init__.py
Qexo-3.4.1/hexoweb/models.py
Qexo-3.4.1/hexoweb/pub.py
Qexo-3.4.1/hexoweb/tests.py
Qexo-3.4.1/hexoweb/views.py
Qexo-3.4.1/manage.py
Qexo-3.4.1/migrate.sh
Qexo-3.4.1/requirements.txt
Qexo-3.4.1/requirements_withoutmysql.txt
Qexo-3.4.1/start.sh
Qexo-3.4.1/templates/
Qexo-3.4.1/templates/accounts/
Qexo-3.4.1/templates/accounts/init.html
Qexo-3.4.1/templates/accounts/login.html
Qexo-3.4.1/templates/accounts/migrate.html
Qexo-3.4.1/templates/accounts/update.html
Qexo-3.4.1/templates/home/
Qexo-3.4.1/templates/home/advanced.html
Qexo-3.4.1/templates/home/configs.html
Qexo-3.4.1/templates/home/custom.html
Qexo-3.4.1/templates/home/edit.html
Qexo-3.4.1/templates/home/edit_config.html
Qexo-3.4.1/templates/home/edit_page.html
Qexo-3.4.1/templates/home/edit_talk.html
Qexo-3.4.1/templates/home/friends.html
Qexo-3.4.1/templates/home/images.html
Qexo-3.4.1/templates/home/index.html
Qexo-3.4.1/templates/home/new.html
Qexo-3.4.1/templates/home/new_page.html
Qexo-3.4.1/templates/home/page-403.html
Qexo-3.4.1/templates/home/page-404.html
Qexo-3.4.1/templates/home/page-500.html
Qexo-3.4.1/templates/home/pages.html
Qexo-3.4.1/templates/home/posts.html
Qexo-3.4.1/templates/home/settings.html
Qexo-3.4.1/templates/home/talks.html
Qexo-3.4.1/templates/home/userscripts.html
Qexo-3.4.1/templates/includes/
Qexo-3.4.1/templates/includes/editor-scripts.html
Qexo-3.4.1/templates/includes/footer.html
Qexo-3.4.1/templates/includes/navigation.html
Qexo-3.4.1/templates/includes/scripts.html
Qexo-3.4.1/templates/includes/sidenav.html
Qexo-3.4.1/templates/layouts/
Qexo-3.4.1/templates/layouts/base-fullscreen.html
Qexo-3.4.1/templates/layouts/base.html
Qexo-3.4.1/templates/layouts/json.html
Qexo-3.4.1/templates/robots.txt
Qexo-3.4.1/update_tag.sh
Qexo-3.4.1/vercel.json
[root@ningan ~]#
[root@ningan ~]#
[root@ningan ~]#
[root@ningan ~]#
[root@ningan ~]# cd Qexo-3.4.1/
[root@ningan Qexo-3.4.1]# ll
total 204
drwxrwxr-x 6 root root 4096 Aug 25 20:31 ./
drwxr-xr-x 75 root root 4096 Nov 1 04:05 ../
drwxrwxr-x 2 root root 4096 Aug 25 20:31 core/
-rw-rw-r-- 1 root root 185 Aug 25 20:31 docker-compose.yaml
-rw-rw-r-- 1 root root 519 Aug 25 20:31 Dockerfile
-rw-rw-r-- 1 root root 1054 Aug 25 20:31 Dockerfile_aio_sqlite_hexo
-rw-rw-r-- 1 root root 0 Aug 25 20:31 .dockerignore
-rw-rw-r-- 1 root root 15 Aug 25 20:31 .env.example
drwxrwxr-x 3 root root 4096 Aug 25 20:31 .github/
-rw-rw-r-- 1 root root 55 Aug 25 20:31 .gitignore
drwxrwxr-x 4 root root 4096 Aug 25 20:31 hexoweb/
-rw-rw-r-- 1 root root 35149 Aug 25 20:31 LICENSE
-rw-rw-r-- 1 root root 347 Aug 25 20:31 Makefile
-rw-rw-r-- 1 root root 660 Aug 25 20:31 manage.py
-rwxrwxr-x 1 root root 90 Aug 25 20:31 migrate.sh*
-rw-rw-r-- 1 root root 679 Aug 25 20:31 Pipfile
-rw-rw-r-- 1 root root 84338 Aug 25 20:31 Pipfile.lock
-rw-rw-r-- 1 root root 3156 Aug 25 20:31 README.md
-rw-rw-r-- 1 root root 369 Aug 25 20:31 requirements.txt
-rw-rw-r-- 1 root root 290 Aug 25 20:31 requirements_withoutmysql.txt
-rw-rw-r-- 1 root root 443 Aug 25 20:31 start.sh
drwxrwxr-x 6 root root 4096 Aug 25 20:31 templates/
-rw-rw-r-- 1 root root 1247 Aug 25 20:31 update_tag.sh
-rw-rw-r-- 1 root root 344 Aug 25 20:31 vercel.json
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]# vi configs.py
import pymysql
pymysql.install_as_MySQLdb()
DOMAINS = ["127.0.0.1", "ningan123.github.io"]
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'qexo',
'USER': 'root',
'PASSWORD': '123456',
'HOST': '192.168.20.201',
'PORT': '3306',
'OPTIONS': {
"init_command": "SET sql_mode='STRICT_TRANS_TABLES'"
}
}
}


[root@ningan Qexo-3.4.1]# python3 -m pip install -r requirements.txt
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
from cryptography.utils import int_from_bytes
Collecting Django==3.2.25
Downloading Django-3.2.25-py3-none-any.whl (7.9 MB)
|████████████████████████████████| 7.9 MB 28 kB/s
Collecting PyMySQL==1.0.2
Downloading PyMySQL-1.0.2-py3-none-any.whl (43 kB)
|████████████████████████████████| 43 kB 24 kB/s
ERROR: Could not find a version that satisfies the requirement boto3==1.34.44 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.0.16, 0.0.17, 0.0.18, 0.0.19, 0.0.20, 0.0.21, 0.0.22, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.8, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10, 1.5.11, 1.5.12, 1.5.13, 1.5.14, 1.5.15, 1.5.16, 1.5.17, 1.5.18, 1.5.19, 1.5.20, 1.5.21, 1.5.22, 1.5.23, 1.5.24, 1.5.25, 1.5.26, 1.5.27, 1.5.28, 1.5.29, 1.5.30, 1.5.31, 1.5.32, 1.5.33, 1.5.34, 1.5.35, 1.5.36, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.6.10, 1.6.11, 1.6.12, 1.6.13, 1.6.14, 1.6.15, 1.6.16, 1.6.17, 1.6.18, 1.6.19, 1.6.20, 1.6.21, 1.6.22, 1.6.23, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.7.11, 1.7.12, 1.7.13, 1.7.14, 1.7.15, 1.7.16, 1.7.17, 1.7.18, 1.7.19, 1.7.20, 1.7.21, 1.7.22, 1.7.23, 1.7.24, 1.7.25, 1.7.26, 1.7.27, 1.7.28, 1.7.29, 1.7.30, 1.7.31, 1.7.32, 1.7.33, 1.7.34, 1.7.35, 1.7.36, 1.7.37, 1.7.38, 1.7.39, 1.7.40, 1.7.41, 1.7.42, 1.7.43, 1.7.44, 1.7.45, 1.7.46, 1.7.47, 1.7.48, 1.7.49, 1.7.50, 1.7.51, 1.7.52, 1.7.53, 1.7.54, 1.7.55, 1.7.56, 1.7.57, 1.7.58, 1.7.59, 1.7.60, 1.7.61, 1.7.62, 1.7.63, 1.7.64, 1.7.65, 1.7.66, 1.7.67, 1.7.68, 1.7.69, 1.7.70, 1.7.71, 1.7.72, 1.7.73, 1.7.74, 1.7.75, 1.7.76, 1.7.77, 1.7.78, 1.7.79, 1.7.80, 1.7.81, 1.7.82, 1.7.83, 1.7.84, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.9.8, 1.9.9, 1.9.10, 1.9.11, 1.9.12, 1.9.13, 1.9.14, 1.9.15, 1.9.16, 1.9.17, 1.9.18, 1.9.19, 1.9.20, 1.9.21, 1.9.22, 1.9.23, 1.9.24, 1.9.25, 1.9.26, 1.9.27, 1.9.28, 1.9.29, 1.9.30, 1.9.31, 1.9.32, 1.9.33, 1.9.34, 1.9.35, 1.9.36, 1.9.37, 1.9.38, 1.9.39, 1.9.40, 1.9.41, 1.9.42, 1.9.43, 1.9.44, 1.9.45, 1.9.46, 1.9.47, 1.9.48, 1.9.49, 1.9.50, 1.9.51, 1.9.52, 1.9.53, 1.9.54, 1.9.55, 1.9.56, 1.9.57, 1.9.58, 1.9.59, 1.9.60, 1.9.61, 1.9.62, 1.9.63, 1.9.64, 1.9.65, 1.9.66, 1.9.67, 1.9.68, 1.9.69, 1.9.70, 1.9.71, 1.9.72, 1.9.73, 1.9.74, 1.9.75, 1.9.76, 1.9.77, 1.9.78, 1.9.79, 1.9.80, 1.9.81, 1.9.82, 1.9.83, 1.9.84, 1.9.85, 1.9.86, 1.9.87, 1.9.88, 1.9.89, 1.9.90, 1.9.91, 1.9.92, 1.9.93, 1.9.94, 1.9.95, 1.9.96, 1.9.97, 1.9.98, 1.9.99, 1.9.100, 1.9.101, 1.9.102, 1.9.103, 1.9.104, 1.9.105, 1.9.106, 1.9.107, 1.9.108, 1.9.109, 1.9.110, 1.9.111, 1.9.112, 1.9.113, 1.9.114, 1.9.115, 1.9.116, 1.9.117, 1.9.118, 1.9.119, 1.9.120, 1.9.121, 1.9.122, 1.9.123, 1.9.124, 1.9.125, 1.9.126, 1.9.127, 1.9.128, 1.9.129, 1.9.130, 1.9.131, 1.9.132, 1.9.133, 1.9.134, 1.9.135, 1.9.136, 1.9.137, 1.9.138, 1.9.139, 1.9.140, 1.9.141, 1.9.142, 1.9.143, 1.9.144, 1.9.145, 1.9.146, 1.9.147, 1.9.148, 1.9.149, 1.9.150, 1.9.151, 1.9.152, 1.9.153, 1.9.154, 1.9.155, 1.9.156, 1.9.157, 1.9.158, 1.9.159, 1.9.160, 1.9.161, 1.9.162, 1.9.163, 1.9.164, 1.9.165, 1.9.166, 1.9.167, 1.9.168, 1.9.169, 1.9.170, 1.9.171, 1.9.172, 1.9.173, 1.9.174, 1.9.175, 1.9.176, 1.9.177, 1.9.178, 1.9.179, 1.9.180, 1.9.181, 1.9.182, 1.9.183, 1.9.184, 1.9.185, 1.9.186, 1.9.187, 1.9.188, 1.9.189, 1.9.190, 1.9.191, 1.9.192, 1.9.193, 1.9.194, 1.9.195, 1.9.196, 1.9.197, 1.9.198, 1.9.199, 1.9.200, 1.9.201, 1.9.202, 1.9.203, 1.9.204, 1.9.205, 1.9.206, 1.9.207, 1.9.208, 1.9.209, 1.9.210, 1.9.211, 1.9.212, 1.9.213, 1.9.214, 1.9.215, 1.9.216, 1.9.217, 1.9.218, 1.9.219, 1.9.220, 1.9.221, 1.9.222, 1.9.223, 1.9.224, 1.9.225, 1.9.226, 1.9.227, 1.9.228, 1.9.229, 1.9.230, 1.9.231, 1.9.232, 1.9.233, 1.9.234, 1.9.235, 1.9.236, 1.9.237, 1.9.238, 1.9.239, 1.9.240, 1.9.241, 1.9.242, 1.9.243, 1.9.244, 1.9.245, 1.9.246, 1.9.247, 1.9.248, 1.9.249, 1.9.250, 1.9.251, 1.9.252, 1.9.253, 1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.10.4, 1.10.5, 1.10.6, 1.10.7, 1.10.8, 1.10.9, 1.10.10, 1.10.11, 1.10.12, 1.10.13, 1.10.14, 1.10.15, 1.10.16, 1.10.17, 1.10.18, 1.10.19, 1.10.20, 1.10.21, 1.10.22, 1.10.23, 1.10.24, 1.10.25, 1.10.26, 1.10.27, 1.10.28, 1.10.29, 1.10.30, 1.10.31, 1.10.32, 1.10.33, 1.10.34, 1.10.35, 1.10.36, 1.10.37, 1.10.38, 1.10.39, 1.10.40, 1.10.41, 1.10.42, 1.10.43, 1.10.44, 1.10.45, 1.10.46, 1.10.47, 1.10.48, 1.10.49, 1.10.50, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.11.4, 1.11.5, 1.11.6, 1.11.7, 1.11.8, 1.11.9, 1.11.10, 1.11.11, 1.11.12, 1.11.13, 1.11.14, 1.11.15, 1.11.16, 1.11.17, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.12.8, 1.12.9, 1.12.10, 1.12.11, 1.12.12, 1.12.13, 1.12.14, 1.12.15, 1.12.16, 1.12.17, 1.12.18, 1.12.19, 1.12.20, 1.12.21, 1.12.22, 1.12.23, 1.12.24, 1.12.25, 1.12.26, 1.12.27, 1.12.28, 1.12.29, 1.12.30, 1.12.31, 1.12.32, 1.12.33, 1.12.34, 1.12.35, 1.12.36, 1.12.37, 1.12.38, 1.12.39, 1.12.40, 1.12.41, 1.12.42, 1.12.43, 1.12.44, 1.12.45, 1.12.46, 1.12.47, 1.12.48, 1.12.49, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.13.7, 1.13.8, 1.13.9, 1.13.10, 1.13.11, 1.13.12, 1.13.13, 1.13.14, 1.13.15, 1.13.16, 1.13.17, 1.13.18, 1.13.19, 1.13.20, 1.13.21, 1.13.22, 1.13.23, 1.13.24, 1.13.25, 1.13.26, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.14.7, 1.14.8, 1.14.9, 1.14.10, 1.14.11, 1.14.12, 1.14.13, 1.14.14, 1.14.15, 1.14.16, 1.14.17, 1.14.18, 1.14.19, 1.14.20, 1.14.21, 1.14.22, 1.14.23, 1.14.24, 1.14.25, 1.14.26, 1.14.27, 1.14.28, 1.14.29, 1.14.30, 1.14.31, 1.14.32, 1.14.33, 1.14.34, 1.14.35, 1.14.36, 1.14.37, 1.14.38, 1.14.39, 1.14.40, 1.14.41, 1.14.42, 1.14.43, 1.14.44, 1.14.45, 1.14.46, 1.14.47, 1.14.48, 1.14.49, 1.14.50, 1.14.51, 1.14.52, 1.14.53, 1.14.54, 1.14.55, 1.14.56, 1.14.57, 1.14.58, 1.14.59, 1.14.60, 1.14.61, 1.14.62, 1.14.63, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.15.5, 1.15.6, 1.15.7, 1.15.8, 1.15.9, 1.15.10, 1.15.11, 1.15.12, 1.15.13, 1.15.14, 1.15.15, 1.15.16, 1.15.17, 1.15.18, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.16.7, 1.16.8, 1.16.9, 1.16.10, 1.16.11, 1.16.12, 1.16.13, 1.16.14, 1.16.15, 1.16.16, 1.16.17, 1.16.18, 1.16.19, 1.16.20, 1.16.21, 1.16.22, 1.16.23, 1.16.24, 1.16.25, 1.16.26, 1.16.27, 1.16.28, 1.16.29, 1.16.30, 1.16.31, 1.16.32, 1.16.33, 1.16.34, 1.16.35, 1.16.36, 1.16.37, 1.16.38, 1.16.39, 1.16.40, 1.16.41, 1.16.42, 1.16.43, 1.16.44, 1.16.45, 1.16.46, 1.16.47, 1.16.48, 1.16.49, 1.16.50, 1.16.51, 1.16.52, 1.16.53, 1.16.54, 1.16.55, 1.16.56, 1.16.57, 1.16.58, 1.16.59, 1.16.60, 1.16.61, 1.16.62, 1.16.63, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.17.6, 1.17.7, 1.17.8, 1.17.9, 1.17.10, 1.17.11, 1.17.12, 1.17.13, 1.17.14, 1.17.15, 1.17.16, 1.17.17, 1.17.18, 1.17.19, 1.17.20, 1.17.21, 1.17.22, 1.17.23, 1.17.24, 1.17.25, 1.17.26, 1.17.27, 1.17.28, 1.17.29, 1.17.30, 1.17.31, 1.17.32, 1.17.33, 1.17.34, 1.17.35, 1.17.36, 1.17.37, 1.17.38, 1.17.39, 1.17.40, 1.17.41, 1.17.42, 1.17.43, 1.17.44, 1.17.45, 1.17.46, 1.17.47, 1.17.48, 1.17.49, 1.17.50, 1.17.51, 1.17.52, 1.17.53, 1.17.54, 1.17.55, 1.17.56, 1.17.57, 1.17.58, 1.17.59, 1.17.60, 1.17.61, 1.17.62, 1.17.63, 1.17.64, 1.17.65, 1.17.66, 1.17.67, 1.17.68, 1.17.69, 1.17.70, 1.17.71, 1.17.72, 1.17.73, 1.17.74, 1.17.75, 1.17.76, 1.17.77, 1.17.78, 1.17.79, 1.17.80, 1.17.81, 1.17.82, 1.17.83, 1.17.84, 1.17.85, 1.17.86, 1.17.87, 1.17.88, 1.17.89, 1.17.90, 1.17.91, 1.17.92, 1.17.93, 1.17.94, 1.17.95, 1.17.96, 1.17.97, 1.17.98, 1.17.99, 1.17.100, 1.17.101, 1.17.102, 1.17.103, 1.17.104, 1.17.105, 1.17.106, 1.17.107, 1.17.108, 1.17.109, 1.17.110, 1.17.111, 1.17.112, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.18.6, 1.18.7, 1.18.8, 1.18.9, 1.18.10, 1.18.11, 1.18.12, 1.18.13, 1.18.14, 1.18.15, 1.18.16, 1.18.17, 1.18.18, 1.18.19, 1.18.20, 1.18.21, 1.18.22, 1.18.23, 1.18.24, 1.18.25, 1.18.26, 1.18.27, 1.18.28, 1.18.29, 1.18.30, 1.18.31, 1.18.32, 1.18.33, 1.18.34, 1.18.35, 1.18.36, 1.18.37, 1.18.38, 1.18.39, 1.18.40, 1.18.41, 1.18.42, 1.18.43, 1.18.44, 1.18.45, 1.18.46, 1.18.47, 1.18.48, 1.18.49, 1.18.50, 1.18.51, 1.18.52, 1.18.53, 1.18.54, 1.18.55, 1.18.56, 1.18.57, 1.18.58, 1.18.59, 1.18.60, 1.18.61, 1.18.62, 1.18.63, 1.18.64, 1.18.65, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.19.6, 1.19.7, 1.19.8, 1.19.9, 1.19.10, 1.19.11, 1.19.12, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.20.7, 1.20.8, 1.20.9, 1.20.10, 1.20.11, 1.20.12, 1.20.13, 1.20.14, 1.20.15, 1.20.16, 1.20.17, 1.20.18, 1.20.19, 1.20.20, 1.20.21, 1.20.22, 1.20.23, 1.20.24, 1.20.25, 1.20.26, 1.20.27, 1.20.28, 1.20.29, 1.20.30, 1.20.31, 1.20.32, 1.20.33, 1.20.34, 1.20.35, 1.20.36, 1.20.37, 1.20.38, 1.20.39, 1.20.40, 1.20.41, 1.20.42, 1.20.43, 1.20.44, 1.20.45, 1.20.46, 1.20.47, 1.20.48, 1.20.49, 1.20.50, 1.20.51, 1.20.52, 1.20.53, 1.20.54, 1.21.0, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 1.21.12, 1.21.13, 1.21.14, 1.21.15, 1.21.16, 1.21.17, 1.21.18, 1.21.19, 1.21.20, 1.21.21, 1.21.22, 1.21.23, 1.21.24, 1.21.25, 1.21.26, 1.21.27, 1.21.28, 1.21.29, 1.21.30, 1.21.31, 1.21.32, 1.21.33, 1.21.34, 1.21.35, 1.21.36, 1.21.37, 1.21.38, 1.21.39, 1.21.40, 1.21.41, 1.21.42, 1.21.43, 1.21.44, 1.21.45, 1.21.46, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.22.5, 1.22.6, 1.22.7, 1.22.8, 1.22.9, 1.22.10, 1.22.11, 1.22.12, 1.22.13, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.23.6, 1.23.7, 1.23.8, 1.23.9, 1.23.10)
ERROR: No matching distribution found for boto3==1.34.44
[root@ningan Qexo-3.4.1]#

[root@ningan Qexo-3.4.1]# pip3 install boto3
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
from cryptography.utils import int_from_bytes
Collecting boto3
Using cached boto3-1.23.10-py3-none-any.whl (132 kB)
Collecting s3transfer<0.6.0,>=0.5.0
Downloading s3transfer-0.5.2-py3-none-any.whl (79 kB)
|████████████████████████████████| 79 kB 142 kB/s
Collecting botocore<1.27.0,>=1.26.10
Downloading botocore-1.26.10-py3-none-any.whl (8.8 MB)
|████████████████████████████████| 8.8 MB 5.3 kB/s
Collecting jmespath<2.0.0,>=0.7.1
Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in /usr/lib/python3/dist-packages (from botocore<1.27.0,>=1.26.10->boto3) (2.6.1)
Collecting urllib3<1.27,>=1.25.4
Downloading urllib3-1.26.20-py2.py3-none-any.whl (144 kB)
|████████████████████████████████| 144 kB 17 kB/s
Installing collected packages: urllib3, jmespath, botocore, s3transfer, boto3
Attempting uninstall: urllib3
Found existing installation: urllib3 1.22
Uninstalling urllib3-1.22:
Successfully uninstalled urllib3-1.22
Successfully installed boto3-1.23.10 botocore-1.26.10 jmespath-0.10.0 s3transfer-0.5.2 urllib3-1.26.20
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[root@ningan Qexo-3.4.1]#


[root@ningan Qexo-3.4.1]# pip install boto3==1.34.44
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
from cryptography.utils import int_from_bytes
ERROR: Could not find a version that satisfies the requirement boto3==1.34.44 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.0.16, 0.0.17, 0.0.18, 0.0.19, 0.0.20, 0.0.21, 0.0.22, 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.8, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10, 1.5.11, 1.5.12, 1.5.13, 1.5.14, 1.5.15, 1.5.16, 1.5.17, 1.5.18, 1.5.19, 1.5.20, 1.5.21, 1.5.22, 1.5.23, 1.5.24, 1.5.25, 1.5.26, 1.5.27, 1.5.28, 1.5.29, 1.5.30, 1.5.31, 1.5.32, 1.5.33, 1.5.34, 1.5.35, 1.5.36, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.6.10, 1.6.11, 1.6.12, 1.6.13, 1.6.14, 1.6.15, 1.6.16, 1.6.17, 1.6.18, 1.6.19, 1.6.20, 1.6.21, 1.6.22, 1.6.23, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.7.11, 1.7.12, 1.7.13, 1.7.14, 1.7.15, 1.7.16, 1.7.17, 1.7.18, 1.7.19, 1.7.20, 1.7.21, 1.7.22, 1.7.23, 1.7.24, 1.7.25, 1.7.26, 1.7.27, 1.7.28, 1.7.29, 1.7.30, 1.7.31, 1.7.32, 1.7.33, 1.7.34, 1.7.35, 1.7.36, 1.7.37, 1.7.38, 1.7.39, 1.7.40, 1.7.41, 1.7.42, 1.7.43, 1.7.44, 1.7.45, 1.7.46, 1.7.47, 1.7.48, 1.7.49, 1.7.50, 1.7.51, 1.7.52, 1.7.53, 1.7.54, 1.7.55, 1.7.56, 1.7.57, 1.7.58, 1.7.59, 1.7.60, 1.7.61, 1.7.62, 1.7.63, 1.7.64, 1.7.65, 1.7.66, 1.7.67, 1.7.68, 1.7.69, 1.7.70, 1.7.71, 1.7.72, 1.7.73, 1.7.74, 1.7.75, 1.7.76, 1.7.77, 1.7.78, 1.7.79, 1.7.80, 1.7.81, 1.7.82, 1.7.83, 1.7.84, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.9.8, 1.9.9, 1.9.10, 1.9.11, 1.9.12, 1.9.13, 1.9.14, 1.9.15, 1.9.16, 1.9.17, 1.9.18, 1.9.19, 1.9.20, 1.9.21, 1.9.22, 1.9.23, 1.9.24, 1.9.25, 1.9.26, 1.9.27, 1.9.28, 1.9.29, 1.9.30, 1.9.31, 1.9.32, 1.9.33, 1.9.34, 1.9.35, 1.9.36, 1.9.37, 1.9.38, 1.9.39, 1.9.40, 1.9.41, 1.9.42, 1.9.43, 1.9.44, 1.9.45, 1.9.46, 1.9.47, 1.9.48, 1.9.49, 1.9.50, 1.9.51, 1.9.52, 1.9.53, 1.9.54, 1.9.55, 1.9.56, 1.9.57, 1.9.58, 1.9.59, 1.9.60, 1.9.61, 1.9.62, 1.9.63, 1.9.64, 1.9.65, 1.9.66, 1.9.67, 1.9.68, 1.9.69, 1.9.70, 1.9.71, 1.9.72, 1.9.73, 1.9.74, 1.9.75, 1.9.76, 1.9.77, 1.9.78, 1.9.79, 1.9.80, 1.9.81, 1.9.82, 1.9.83, 1.9.84, 1.9.85, 1.9.86, 1.9.87, 1.9.88, 1.9.89, 1.9.90, 1.9.91, 1.9.92, 1.9.93, 1.9.94, 1.9.95, 1.9.96, 1.9.97, 1.9.98, 1.9.99, 1.9.100, 1.9.101, 1.9.102, 1.9.103, 1.9.104, 1.9.105, 1.9.106, 1.9.107, 1.9.108, 1.9.109, 1.9.110, 1.9.111, 1.9.112, 1.9.113, 1.9.114, 1.9.115, 1.9.116, 1.9.117, 1.9.118, 1.9.119, 1.9.120, 1.9.121, 1.9.122, 1.9.123, 1.9.124, 1.9.125, 1.9.126, 1.9.127, 1.9.128, 1.9.129, 1.9.130, 1.9.131, 1.9.132, 1.9.133, 1.9.134, 1.9.135, 1.9.136, 1.9.137, 1.9.138, 1.9.139, 1.9.140, 1.9.141, 1.9.142, 1.9.143, 1.9.144, 1.9.145, 1.9.146, 1.9.147, 1.9.148, 1.9.149, 1.9.150, 1.9.151, 1.9.152, 1.9.153, 1.9.154, 1.9.155, 1.9.156, 1.9.157, 1.9.158, 1.9.159, 1.9.160, 1.9.161, 1.9.162, 1.9.163, 1.9.164, 1.9.165, 1.9.166, 1.9.167, 1.9.168, 1.9.169, 1.9.170, 1.9.171, 1.9.172, 1.9.173, 1.9.174, 1.9.175, 1.9.176, 1.9.177, 1.9.178, 1.9.179, 1.9.180, 1.9.181, 1.9.182, 1.9.183, 1.9.184, 1.9.185, 1.9.186, 1.9.187, 1.9.188, 1.9.189, 1.9.190, 1.9.191, 1.9.192, 1.9.193, 1.9.194, 1.9.195, 1.9.196, 1.9.197, 1.9.198, 1.9.199, 1.9.200, 1.9.201, 1.9.202, 1.9.203, 1.9.204, 1.9.205, 1.9.206, 1.9.207, 1.9.208, 1.9.209, 1.9.210, 1.9.211, 1.9.212, 1.9.213, 1.9.214, 1.9.215, 1.9.216, 1.9.217, 1.9.218, 1.9.219, 1.9.220, 1.9.221, 1.9.222, 1.9.223, 1.9.224, 1.9.225, 1.9.226, 1.9.227, 1.9.228, 1.9.229, 1.9.230, 1.9.231, 1.9.232, 1.9.233, 1.9.234, 1.9.235, 1.9.236, 1.9.237, 1.9.238, 1.9.239, 1.9.240, 1.9.241, 1.9.242, 1.9.243, 1.9.244, 1.9.245, 1.9.246, 1.9.247, 1.9.248, 1.9.249, 1.9.250, 1.9.251, 1.9.252, 1.9.253, 1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.10.4, 1.10.5, 1.10.6, 1.10.7, 1.10.8, 1.10.9, 1.10.10, 1.10.11, 1.10.12, 1.10.13, 1.10.14, 1.10.15, 1.10.16, 1.10.17, 1.10.18, 1.10.19, 1.10.20, 1.10.21, 1.10.22, 1.10.23, 1.10.24, 1.10.25, 1.10.26, 1.10.27, 1.10.28, 1.10.29, 1.10.30, 1.10.31, 1.10.32, 1.10.33, 1.10.34, 1.10.35, 1.10.36, 1.10.37, 1.10.38, 1.10.39, 1.10.40, 1.10.41, 1.10.42, 1.10.43, 1.10.44, 1.10.45, 1.10.46, 1.10.47, 1.10.48, 1.10.49, 1.10.50, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.11.4, 1.11.5, 1.11.6, 1.11.7, 1.11.8, 1.11.9, 1.11.10, 1.11.11, 1.11.12, 1.11.13, 1.11.14, 1.11.15, 1.11.16, 1.11.17, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7, 1.12.8, 1.12.9, 1.12.10, 1.12.11, 1.12.12, 1.12.13, 1.12.14, 1.12.15, 1.12.16, 1.12.17, 1.12.18, 1.12.19, 1.12.20, 1.12.21, 1.12.22, 1.12.23, 1.12.24, 1.12.25, 1.12.26, 1.12.27, 1.12.28, 1.12.29, 1.12.30, 1.12.31, 1.12.32, 1.12.33, 1.12.34, 1.12.35, 1.12.36, 1.12.37, 1.12.38, 1.12.39, 1.12.40, 1.12.41, 1.12.42, 1.12.43, 1.12.44, 1.12.45, 1.12.46, 1.12.47, 1.12.48, 1.12.49, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.13.7, 1.13.8, 1.13.9, 1.13.10, 1.13.11, 1.13.12, 1.13.13, 1.13.14, 1.13.15, 1.13.16, 1.13.17, 1.13.18, 1.13.19, 1.13.20, 1.13.21, 1.13.22, 1.13.23, 1.13.24, 1.13.25, 1.13.26, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.14.7, 1.14.8, 1.14.9, 1.14.10, 1.14.11, 1.14.12, 1.14.13, 1.14.14, 1.14.15, 1.14.16, 1.14.17, 1.14.18, 1.14.19, 1.14.20, 1.14.21, 1.14.22, 1.14.23, 1.14.24, 1.14.25, 1.14.26, 1.14.27, 1.14.28, 1.14.29, 1.14.30, 1.14.31, 1.14.32, 1.14.33, 1.14.34, 1.14.35, 1.14.36, 1.14.37, 1.14.38, 1.14.39, 1.14.40, 1.14.41, 1.14.42, 1.14.43, 1.14.44, 1.14.45, 1.14.46, 1.14.47, 1.14.48, 1.14.49, 1.14.50, 1.14.51, 1.14.52, 1.14.53, 1.14.54, 1.14.55, 1.14.56, 1.14.57, 1.14.58, 1.14.59, 1.14.60, 1.14.61, 1.14.62, 1.14.63, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.15.5, 1.15.6, 1.15.7, 1.15.8, 1.15.9, 1.15.10, 1.15.11, 1.15.12, 1.15.13, 1.15.14, 1.15.15, 1.15.16, 1.15.17, 1.15.18, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.16.7, 1.16.8, 1.16.9, 1.16.10, 1.16.11, 1.16.12, 1.16.13, 1.16.14, 1.16.15, 1.16.16, 1.16.17, 1.16.18, 1.16.19, 1.16.20, 1.16.21, 1.16.22, 1.16.23, 1.16.24, 1.16.25, 1.16.26, 1.16.27, 1.16.28, 1.16.29, 1.16.30, 1.16.31, 1.16.32, 1.16.33, 1.16.34, 1.16.35, 1.16.36, 1.16.37, 1.16.38, 1.16.39, 1.16.40, 1.16.41, 1.16.42, 1.16.43, 1.16.44, 1.16.45, 1.16.46, 1.16.47, 1.16.48, 1.16.49, 1.16.50, 1.16.51, 1.16.52, 1.16.53, 1.16.54, 1.16.55, 1.16.56, 1.16.57, 1.16.58, 1.16.59, 1.16.60, 1.16.61, 1.16.62, 1.16.63, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.17.6, 1.17.7, 1.17.8, 1.17.9, 1.17.10, 1.17.11, 1.17.12, 1.17.13, 1.17.14, 1.17.15, 1.17.16, 1.17.17, 1.17.18, 1.17.19, 1.17.20, 1.17.21, 1.17.22, 1.17.23, 1.17.24, 1.17.25, 1.17.26, 1.17.27, 1.17.28, 1.17.29, 1.17.30, 1.17.31, 1.17.32, 1.17.33, 1.17.34, 1.17.35, 1.17.36, 1.17.37, 1.17.38, 1.17.39, 1.17.40, 1.17.41, 1.17.42, 1.17.43, 1.17.44, 1.17.45, 1.17.46, 1.17.47, 1.17.48, 1.17.49, 1.17.50, 1.17.51, 1.17.52, 1.17.53, 1.17.54, 1.17.55, 1.17.56, 1.17.57, 1.17.58, 1.17.59, 1.17.60, 1.17.61, 1.17.62, 1.17.63, 1.17.64, 1.17.65, 1.17.66, 1.17.67, 1.17.68, 1.17.69, 1.17.70, 1.17.71, 1.17.72, 1.17.73, 1.17.74, 1.17.75, 1.17.76, 1.17.77, 1.17.78, 1.17.79, 1.17.80, 1.17.81, 1.17.82, 1.17.83, 1.17.84, 1.17.85, 1.17.86, 1.17.87, 1.17.88, 1.17.89, 1.17.90, 1.17.91, 1.17.92, 1.17.93, 1.17.94, 1.17.95, 1.17.96, 1.17.97, 1.17.98, 1.17.99, 1.17.100, 1.17.101, 1.17.102, 1.17.103, 1.17.104, 1.17.105, 1.17.106, 1.17.107, 1.17.108, 1.17.109, 1.17.110, 1.17.111, 1.17.112, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.18.6, 1.18.7, 1.18.8, 1.18.9, 1.18.10, 1.18.11, 1.18.12, 1.18.13, 1.18.14, 1.18.15, 1.18.16, 1.18.17, 1.18.18, 1.18.19, 1.18.20, 1.18.21, 1.18.22, 1.18.23, 1.18.24, 1.18.25, 1.18.26, 1.18.27, 1.18.28, 1.18.29, 1.18.30, 1.18.31, 1.18.32, 1.18.33, 1.18.34, 1.18.35, 1.18.36, 1.18.37, 1.18.38, 1.18.39, 1.18.40, 1.18.41, 1.18.42, 1.18.43, 1.18.44, 1.18.45, 1.18.46, 1.18.47, 1.18.48, 1.18.49, 1.18.50, 1.18.51, 1.18.52, 1.18.53, 1.18.54, 1.18.55, 1.18.56, 1.18.57, 1.18.58, 1.18.59, 1.18.60, 1.18.61, 1.18.62, 1.18.63, 1.18.64, 1.18.65, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.19.6, 1.19.7, 1.19.8, 1.19.9, 1.19.10, 1.19.11, 1.19.12, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.20.7, 1.20.8, 1.20.9, 1.20.10, 1.20.11, 1.20.12, 1.20.13, 1.20.14, 1.20.15, 1.20.16, 1.20.17, 1.20.18, 1.20.19, 1.20.20, 1.20.21, 1.20.22, 1.20.23, 1.20.24, 1.20.25, 1.20.26, 1.20.27, 1.20.28, 1.20.29, 1.20.30, 1.20.31, 1.20.32, 1.20.33, 1.20.34, 1.20.35, 1.20.36, 1.20.37, 1.20.38, 1.20.39, 1.20.40, 1.20.41, 1.20.42, 1.20.43, 1.20.44, 1.20.45, 1.20.46, 1.20.47, 1.20.48, 1.20.49, 1.20.50, 1.20.51, 1.20.52, 1.20.53, 1.20.54, 1.21.0, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 1.21.12, 1.21.13, 1.21.14, 1.21.15, 1.21.16, 1.21.17, 1.21.18, 1.21.19, 1.21.20, 1.21.21, 1.21.22, 1.21.23, 1.21.24, 1.21.25, 1.21.26, 1.21.27, 1.21.28, 1.21.29, 1.21.30, 1.21.31, 1.21.32, 1.21.33, 1.21.34, 1.21.35, 1.21.36, 1.21.37, 1.21.38, 1.21.39, 1.21.40, 1.21.41, 1.21.42, 1.21.43, 1.21.44, 1.21.45, 1.21.46, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.22.5, 1.22.6, 1.22.7, 1.22.8, 1.22.9, 1.22.10, 1.22.11, 1.22.12, 1.22.13, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.23.6, 1.23.7, 1.23.8, 1.23.9, 1.23.10)
ERROR: No matching distribution found for boto3==1.34.44
[root@ningan Qexo-3.4.1]#




[root@ningan Qexo-3.4.1]# pip install --upgrade pip
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.6.
from cryptography.utils import int_from_bytes
Requirement already satisfied: pip in /usr/local/lib/python3.6/dist-packages (21.3.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

[root@ningan Qexo-3.4.1]# python -V
Python 3.6.9

确认尝试安装的版本号(1.34.44)是否确实存在:存在
boto3 1.34.44:boto3 · PyPI

小插曲:尝试升级python版本

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[root@ningan ~]# sudo apt update
Ign:1 https://download.docker.com/linux/ubuntu bionic InRelease
Err:2 https://download.docker.com/linux/ubuntu bionic Release
Could not handshake: Error in the pull function. [IP: 18.155.68.15 443]
Hit:3 https://mirrors.aliyun.com/ubuntu bionic InRelease
Get:4 https://mirrors.aliyun.com/ubuntu bionic-security InRelease [102 kB]
Get:5 https://mirrors.aliyun.com/ubuntu bionic-updates InRelease [102 kB]
Get:6 https://mirrors.aliyun.com/ubuntu bionic-backports InRelease [102 kB]
Hit:7 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu bionic InRelease
Get:8 https://mirrors.aliyun.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [76.8 kB]
Get:9 https://mirrors.aliyun.com/ubuntu bionic-security/restricted amd64 DEP-11 Metadata [212 B]
Get:10 https://mirrors.aliyun.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [61.9 kB]
Get:11 https://mirrors.aliyun.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:12 https://mirrors.aliyun.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [297 kB]
Get:13 https://mirrors.aliyun.com/ubuntu bionic-updates/restricted amd64 DEP-11 Metadata [212 B]
Get:14 https://mirrors.aliyun.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [303 kB]
Get:15 https://mirrors.aliyun.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:16 https://mirrors.aliyun.com/ubuntu bionic-backports/main amd64 DEP-11 Metadata [8,112 B]
Get:17 https://mirrors.aliyun.com/ubuntu bionic-backports/restricted amd64 DEP-11 Metadata [216 B]
Get:18 https://mirrors.aliyun.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [10.1 kB]
Get:19 https://mirrors.aliyun.com/ubuntu bionic-backports/multiverse amd64 DEP-11 Metadata [216 B]
Reading package lists... Done
E: The repository 'https://download.docker.com/linux/ubuntu bionic Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
[root@ningan ~]#
[root@ningan ~]#
[root@ningan ~]# sudo apt install python3.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libpython3.8-minimal libpython3.8-stdlib python3.8-minimal
Suggested packages:
python3.8-venv python3.8-doc
The following NEW packages will be installed:
libpython3.8-minimal libpython3.8-stdlib python3.8 python3.8-minimal
0 upgraded, 4 newly installed, 0 to remove and 7 not upgraded.
Need to get 4,542 kB of archives.
After this operation, 18.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://mirrors.aliyun.com/ubuntu bionic-security/universe amd64 libpython3.8-minimal amd64 3.8.0-3ubuntu1~18.04.2 [704 kB]
Get:2 https://mirrors.aliyun.com/ubuntu bionic-security/universe amd64 python3.8-minimal amd64 3.8.0-3ubuntu1~18.04.2 [1,807 kB]
Get:3 https://mirrors.aliyun.com/ubuntu bionic-security/universe amd64 libpython3.8-stdlib amd64 3.8.0-3ubuntu1~18.04.2 [1,676 kB]
Get:4 https://mirrors.aliyun.com/ubuntu bionic-security/universe amd64 python3.8 amd64 3.8.0-3ubuntu1~18.04.2 [355 kB]
Fetched 4,542 kB in 1s (6,984 kB/s)
Selecting previously unselected package libpython3.8-minimal:amd64.
(Reading database ... 278125 files and directories currently installed.)
Preparing to unpack .../libpython3.8-minimal_3.8.0-3ubuntu1~18.04.2_amd64.deb ...
Unpacking libpython3.8-minimal:amd64 (3.8.0-3ubuntu1~18.04.2) ...
Selecting previously unselected package python3.8-minimal.
Preparing to unpack .../python3.8-minimal_3.8.0-3ubuntu1~18.04.2_amd64.deb ...
Unpacking python3.8-minimal (3.8.0-3ubuntu1~18.04.2) ...
Selecting previously unselected package libpython3.8-stdlib:amd64.
Preparing to unpack .../libpython3.8-stdlib_3.8.0-3ubuntu1~18.04.2_amd64.deb ...
Unpacking libpython3.8-stdlib:amd64 (3.8.0-3ubuntu1~18.04.2) ...
Selecting previously unselected package python3.8.
Preparing to unpack .../python3.8_3.8.0-3ubuntu1~18.04.2_amd64.deb ...
Unpacking python3.8 (3.8.0-3ubuntu1~18.04.2) ...
Setting up libpython3.8-minimal:amd64 (3.8.0-3ubuntu1~18.04.2) ...
Setting up python3.8-minimal (3.8.0-3ubuntu1~18.04.2) ...
Setting up libpython3.8-stdlib:amd64 (3.8.0-3ubuntu1~18.04.2) ...
Setting up python3.8 (3.8.0-3ubuntu1~18.04.2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
[root@ningan ~]#
[root@ningan ~]#
[root@ningan ~]# python3.8 --version
Python 3.8.0

回到主线

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[root@ningan Qexo-3.4.1]# python3.8 -m pip install -r requirements.txt
Collecting Django==3.2.25 (from -r requirements.txt (line 1))
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Downloading https://files.pythonhosted.org/packages/30/8e/cc23c762c5dcd1d367d73cf006a326e0df2bd0e785cba18b658b39904c1e/Django-3.2.25-py3-none-any.whl (7.9MB)
100% |████████████████████████████████| 7.9MB 189kB/s
Collecting PyMySQL==1.0.2 (from -r requirements.txt (line 2))
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Downloading https://files.pythonhosted.org/packages/4f/52/a115fe175028b058df353c5a3d5290b71514a83f67078a6482cff24d6137/PyMySQL-1.0.2-py3-none-any.whl (43kB)
100% |████████████████████████████████| 51kB 3.1MB/s
Collecting boto3==1.34.44 (from -r requirements.txt (line 3))
Cache entry deserialization failed, entry ignored
Downloading https://files.pythonhosted.org/packages/15/1e/cbec55e05c0577429945d785cce8e16eebf2a8bd9c5ccda2b9c6e2a51ab4/boto3-1.34.44-py3-none-any.whl (139kB)
100% |████████████████████████████████| 143kB 2.5MB/s
Collecting requests==2.31.0 (from -r requirements.txt (line 4))
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Downloading https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl (62kB)
100% |████████████████████████████████| 71kB 2.8MB/s
Collecting PyGithub==2.2.0 (from -r requirements.txt (line 5))
Cache entry deserialization failed, entry ignored
Downloading https://files.pythonhosted.org/packages/37/56/6e038f8cd6b76984005cd5cf90926caa6898b4220984a32dbbdc044a3f18/PyGithub-2.2.0-py3-none-any.whl (350kB)
100% |████████████████████████████████| 358kB 2.0MB/s
Collecting python-gitlab==4.4.0 (from -r requirements.txt (line 6))
Downloading https://files.pythonhosted.org/packages/70/f3/82ec52f96bbcccd10a6ce8f145115d08463c54a374f31beb278aa16d8b25/python_gitlab-4.4.0-py3-none-any.whl (138kB)
100% |████████████████████████████████| 143kB 2.4MB/s
Collecting html2text==2020.1.16 (from -r requirements.txt (line 7))
Downloading https://files.pythonhosted.org/packages/ae/88/14655f727f66b3e3199f4467bafcc88283e6c31b562686bf606264e09181/html2text-2020.1.16-py3-none-any.whl
Collecting PyYAML==6.0.1 (from -r requirements.txt (line 8))
Downloading https://files.pythonhosted.org/packages/cd/e5/af35f7ea75cf72f2cd079c95ee16797de7cd71f29ea7c68ae5ce7be1eda0/PyYAML-6.0.1.tar.gz (125kB)
100% |████████████████████████████████| 133kB 2.5MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'setuptools'

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-7rwpufp2/PyYAML/

小插曲:检查setuptools装在哪里了

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[root@ningan Qexo-3.4.1]# python -m pip show setuptools
Name: setuptools
Version: 59.6.0
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: https://github.com/pypa/setuptools
Author: Python Packaging Authority
Author-email: distutils-sig@python.org
License: UNKNOWN
Location: /usr/local/lib/python3.6/dist-packages
Requires:
Required-by: launchpadlib, tensorboard
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]# python3 -m pip show setuptools
Name: setuptools
Version: 59.6.0
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: https://github.com/pypa/setuptools
Author: Python Packaging Authority
Author-email: distutils-sig@python.org
License: UNKNOWN
Location: /usr/local/lib/python3.6/dist-packages
Requires:
Required-by: launchpadlib, tensorboard
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]# python3.8 -m pip show setuptools
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]# python3.8 -m pip install setuptools
Collecting setuptools
Cache entry deserialization failed, entry ignored
Downloading https://files.pythonhosted.org/packages/90/12/282ee9bce8b58130cb762fbc9beabd531549952cac11fc56add11dcb7ea0/setuptools-75.3.0-py3-none-any.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 898kB/s
Installing collected packages: setuptools
Successfully installed setuptools-75.3.0
[root@ningan Qexo-3.4.1]# python3.8 -m pip show setuptools
Name: setuptools
Version: 75.3.0
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: None
Author: None
Author-email: Python Packaging Authority <distutils-sig@python.org>
License: None
Location: /usr/local/lib/python3.8/dist-packages
Requires:

回到主线

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[root@ningan Qexo-3.4.1]# python3.8 -m pip install -r requirements.txt
Collecting Django==3.2.25 (from -r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/30/8e/cc23c762c5dcd1d367d73cf006a326e0df2bd0e785cba18b658b39904c1e/Django-3.2.25-py3-none-any.whl
Collecting PyMySQL==1.0.2 (from -r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/4f/52/a115fe175028b058df353c5a3d5290b71514a83f67078a6482cff24d6137/PyMySQL-1.0.2-py3-none-any.whl
Collecting boto3==1.34.44 (from -r requirements.txt (line 3))
Using cached https://files.pythonhosted.org/packages/15/1e/cbec55e05c0577429945d785cce8e16eebf2a8bd9c5ccda2b9c6e2a51ab4/boto3-1.34.44-py3-none-any.whl
Collecting requests==2.31.0 (from -r requirements.txt (line 4))
Using cached https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl
Collecting PyGithub==2.2.0 (from -r requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/37/56/6e038f8cd6b76984005cd5cf90926caa6898b4220984a32dbbdc044a3f18/PyGithub-2.2.0-py3-none-any.whl
Collecting python-gitlab==4.4.0 (from -r requirements.txt (line 6))
Using cached https://files.pythonhosted.org/packages/70/f3/82ec52f96bbcccd10a6ce8f145115d08463c54a374f31beb278aa16d8b25/python_gitlab-4.4.0-py3-none-any.whl
Collecting html2text==2020.1.16 (from -r requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/ae/88/14655f727f66b3e3199f4467bafcc88283e6c31b562686bf606264e09181/html2text-2020.1.16-py3-none-any.whl
Collecting PyYAML==6.0.1 (from -r requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/cd/e5/af35f7ea75cf72f2cd079c95ee16797de7cd71f29ea7c68ae5ce7be1eda0/PyYAML-6.0.1.tar.gz
Collecting urllib3==1.26.18 (from -r requirements.txt (line 9))
Cache entry deserialization failed, entry ignored
Downloading https://files.pythonhosted.org/packages/b0/53/aa91e163dcfd1e5b82d8a890ecf13314e3e149c05270cc644581f77f17fd/urllib3-1.26.18-py2.py3-none-any.whl (143kB)
100% |████████████████████████████████| 153kB 1.1MB/s
Collecting Markdown==3.5.2 (from -r requirements.txt (line 10))
Cache entry deserialization failed, entry ignored
Downloading https://files.pythonhosted.org/packages/42/f4/f0031854de10a0bc7821ef9fca0b92ca0d7aa6fbfbf504c5473ba825e49c/Markdown-3.5.2-py3-none-any.whl (103kB)
100% |████████████████████████████████| 112kB 3.9MB/s
Collecting djongo5==1.3.9 (from -r requirements.txt (line 11))
Downloading https://files.pythonhosted.org/packages/1d/42/f3aaa938638cdf5c17a766950029bdb0a370580255a58cf2fb27fe487c66/djongo5-1.3.9-py3-none-any.whl (51kB)
100% |████████████████████████████████| 51kB 4.0MB/s
Collecting django-cors-headers==4.1.0 (from -r requirements.txt (line 12))
Downloading https://files.pythonhosted.org/packages/a0/2c/7df4f05a02b20b2c22ffc137b5a04f93214bbaf202fd2a29637ac694e0e4/django_cors_headers-4.1.0-py3-none-any.whl
Collecting pymongo==3.13.0 (from -r requirements.txt (line 13))
Downloading https://files.pythonhosted.org/packages/0b/9c/e1652def3cc841688402fcfa676eb14bd5551cb29c7e1b6f65488d89b30b/pymongo-3.13.0-cp38-cp38-manylinux1_x86_64.whl (524kB)
100% |████████████████████████████████| 532kB 1.3MB/s
Collecting dnspython==2.2.1 (from -r requirements.txt (line 14))
Downloading https://files.pythonhosted.org/packages/9b/ed/28fb14146c7033ba0e89decd92a4fa16b0b69b84471e2deab3cc4337cc35/dnspython-2.2.1-py3-none-any.whl (269kB)
100% |████████████████████████████████| 276kB 5.1MB/s
Collecting sqlparse==0.2.4 (from -r requirements.txt (line 15))
Downloading https://files.pythonhosted.org/packages/65/85/20bdd72f4537cf2c4d5d005368d502b2f464ede22982e724a82c86268eda/sqlparse-0.2.4-py2.py3-none-any.whl
Collecting psycopg2-binary==2.9.9 (from -r requirements.txt (line 16))
Downloading https://files.pythonhosted.org/packages/fc/07/e720e53bfab016ebcc34241695ccc06a9e3d91ba19b40ca81317afbdc440/psycopg2-binary-2.9.9.tar.gz (384kB)
100% |████████████████████████████████| 389kB 3.1MB/s
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-info/psycopg2_binary.egg-info
writing pip-egg-info/psycopg2_binary.egg-info/PKG-INFO
writing dependency_links to pip-egg-info/psycopg2_binary.egg-info/dependency_links.txt
writing top-level names to pip-egg-info/psycopg2_binary.egg-info/top_level.txt
writing manifest file 'pip-egg-info/psycopg2_binary.egg-info/SOURCES.txt'

Error: pg_config executable not found.

pg_config is required to build psycopg2 from source. Please add the directory
containing pg_config to the $PATH or specify the full executable path with the
option:

python setup.py build_ext --pg-config /path/to/pg_config build ...

or with the pg_config option in 'setup.cfg'.

If you prefer to avoid building psycopg2 from source, please install the PyPI
'psycopg2-binary' package instead.

For further information please check the 'doc/src/install.rst' file (also at
<https://www.psycopg.org/docs/install.html>).


----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-65ez5n40/psycopg2-binary/
[root@ningan Qexo-3.4.1]#

小插曲:安装postgresql

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[root@ningan Qexo-3.4.1]# psql --version

Command 'psql' not found, but can be installed with:

apt install postgresql-client-common

[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]# sudo apt install postgresql postgresql-contrib
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libpq5 postgresql-10 postgresql-client-10 postgresql-client-common postgresql-common sysstat
Suggested packages:
postgresql-doc locales-all postgresql-doc-10 libjson-perl isag
The following NEW packages will be installed:
libpq5 postgresql postgresql-10 postgresql-client-10 postgresql-client-common postgresql-common postgresql-contrib sysstat
0 upgraded, 8 newly installed, 0 to remove and 7 not upgraded.
Need to get 5,326 kB of archives.
After this operation, 20.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://mirrors.aliyun.com/ubuntu bionic-security/main amd64 libpq5 amd64 10.23-0ubuntu0.18.04.2 [107 kB]
Get:2 https://mirrors.aliyun.com/ubuntu bionic-security/main amd64 postgresql-client-common all 190ubuntu0.1 [29.6 kB]
Get:3 https://mirrors.aliyun.com/ubuntu bionic-security/main amd64 postgresql-client-10 amd64 10.23-0ubuntu0.18.04.2 [943 kB]
Get:4 https://mirrors.aliyun.com/ubuntu bionic-security/main amd64 postgresql-common all 190ubuntu0.1 [157 kB]
Get:5 https://mirrors.aliyun.com/ubuntu bionic-security/main amd64 postgresql-10 amd64 10.23-0ubuntu0.18.04.2 [3,781 kB]
Get:6 https://mirrors.aliyun.com/ubuntu bionic-security/main amd64 postgresql all 10+190ubuntu0.1 [5,884 B]
Get:7 https://mirrors.aliyun.com/ubuntu bionic-security/main amd64 postgresql-contrib all 10+190ubuntu0.1 [5,896 B]
Get:8 https://mirrors.aliyun.com/ubuntu bionic-security/main amd64 sysstat amd64 11.6.1-1ubuntu0.2 [295 kB]
Fetched 5,326 kB in 3s (2,006 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libpq5:amd64.
(Reading database ... 278744 files and directories currently installed.)
Preparing to unpack .../0-libpq5_10.23-0ubuntu0.18.04.2_amd64.deb ...
Unpacking libpq5:amd64 (10.23-0ubuntu0.18.04.2) ...
Selecting previously unselected package postgresql-client-common.
Preparing to unpack .../1-postgresql-client-common_190ubuntu0.1_all.deb ...
Unpacking postgresql-client-common (190ubuntu0.1) ...
Selecting previously unselected package postgresql-client-10.
Preparing to unpack .../2-postgresql-client-10_10.23-0ubuntu0.18.04.2_amd64.deb ...
Unpacking postgresql-client-10 (10.23-0ubuntu0.18.04.2) ...
Selecting previously unselected package postgresql-common.
Preparing to unpack .../3-postgresql-common_190ubuntu0.1_all.deb ...
Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
Unpacking postgresql-common (190ubuntu0.1) ...
Selecting previously unselected package postgresql-10.
Preparing to unpack .../4-postgresql-10_10.23-0ubuntu0.18.04.2_amd64.deb ...
Unpacking postgresql-10 (10.23-0ubuntu0.18.04.2) ...
Selecting previously unselected package postgresql.
Preparing to unpack .../5-postgresql_10+190ubuntu0.1_all.deb ...
Unpacking postgresql (10+190ubuntu0.1) ...
Selecting previously unselected package postgresql-contrib.
Preparing to unpack .../6-postgresql-contrib_10+190ubuntu0.1_all.deb ...
Unpacking postgresql-contrib (10+190ubuntu0.1) ...
Selecting previously unselected package sysstat.
Preparing to unpack .../7-sysstat_11.6.1-1ubuntu0.2_amd64.deb ...
Unpacking sysstat (11.6.1-1ubuntu0.2) ...
Setting up sysstat (11.6.1-1ubuntu0.2) ...

Creating config file /etc/default/sysstat with new version
update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode
Created symlink /etc/systemd/system/multi-user.target.wants/sysstat.service → /lib/systemd/system/sysstat.service.
Setting up libpq5:amd64 (10.23-0ubuntu0.18.04.2) ...
Setting up postgresql-client-common (190ubuntu0.1) ...
Setting up postgresql-common (190ubuntu0.1) ...
Adding user postgres to group ssl-cert

Creating config file /etc/postgresql-common/createcluster.conf with new version
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
en_us
Removing obsolete dictionary files:
Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service → /lib/systemd/system/postgresql.service.
Setting up postgresql-client-10 (10.23-0ubuntu0.18.04.2) ...
update-alternatives: using /usr/share/postgresql/10/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
Setting up postgresql-10 (10.23-0ubuntu0.18.04.2) ...
Creating new PostgreSQL cluster 10/main ...
/usr/lib/postgresql/10/bin/initdb -D /var/lib/postgresql/10/main --auth-local peer --auth-host md5
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.UTF-8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /var/lib/postgresql/10/main ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default timezone ... Asia/Shanghai
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok

Success. You can now start the database server using:

/usr/lib/postgresql/10/bin/pg_ctl -D /var/lib/postgresql/10/main -l logfile start

Ver Cluster Port Status Owner Data directory Log file
10 main 5432 down postgres /var/lib/postgresql/10/main /var/log/postgresql/postgresql-10-main.log
update-alternatives: using /usr/share/postgresql/10/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
Setting up postgresql (10+190ubuntu0.1) ...
Setting up postgresql-contrib (10+190ubuntu0.1) ...
Processing triggers for systemd (237-3ubuntu10.57) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for libc-bin (2.27-3ubuntu1.6) ...


[root@ningan Qexo-3.4.1]# sudo systemctl status postgresql
● postgresql.service - PostgreSQL RDBMS
Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
Active: active (exited) since Sat 2024-11-02 10:39:10 CST; 43s ago
Main PID: 19119 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4628)
CGroup: /system.slice/postgresql.service

Nov 02 10:39:10 ningan systemd[1]: Starting PostgreSQL RDBMS...
Nov 02 10:39:10 ningan systemd[1]: Started PostgreSQL RDBMS.


[root@ningan Qexo-3.4.1]# psql --version
psql (PostgreSQL) 10.23 (Ubuntu 10.23-0ubuntu0.18.04.2)

回到主线

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[root@ningan Qexo-3.4.1]# python3.8 -m pip install -r requirements.txt
Collecting Django==3.2.25 (from -r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/30/8e/cc23c762c5dcd1d367d73cf006a326e0df2bd0e785cba18b658b39904c1e/Django-3.2.25-py3-none-any.whl
Collecting PyMySQL==1.0.2 (from -r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/4f/52/a115fe175028b058df353c5a3d5290b71514a83f67078a6482cff24d6137/PyMySQL-1.0.2-py3-none-any.whl
Collecting boto3==1.34.44 (from -r requirements.txt (line 3))
Using cached https://files.pythonhosted.org/packages/15/1e/cbec55e05c0577429945d785cce8e16eebf2a8bd9c5ccda2b9c6e2a51ab4/boto3-1.34.44-py3-none-any.whl
Collecting requests==2.31.0 (from -r requirements.txt (line 4))
Using cached https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl
Collecting PyGithub==2.2.0 (from -r requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/37/56/6e038f8cd6b76984005cd5cf90926caa6898b4220984a32dbbdc044a3f18/PyGithub-2.2.0-py3-none-any.whl
Collecting python-gitlab==4.4.0 (from -r requirements.txt (line 6))
Using cached https://files.pythonhosted.org/packages/70/f3/82ec52f96bbcccd10a6ce8f145115d08463c54a374f31beb278aa16d8b25/python_gitlab-4.4.0-py3-none-any.whl
Collecting html2text==2020.1.16 (from -r requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/ae/88/14655f727f66b3e3199f4467bafcc88283e6c31b562686bf606264e09181/html2text-2020.1.16-py3-none-any.whl
Collecting PyYAML==6.0.1 (from -r requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/cd/e5/af35f7ea75cf72f2cd079c95ee16797de7cd71f29ea7c68ae5ce7be1eda0/PyYAML-6.0.1.tar.gz
Collecting urllib3==1.26.18 (from -r requirements.txt (line 9))
Using cached https://files.pythonhosted.org/packages/b0/53/aa91e163dcfd1e5b82d8a890ecf13314e3e149c05270cc644581f77f17fd/urllib3-1.26.18-py2.py3-none-any.whl
Collecting Markdown==3.5.2 (from -r requirements.txt (line 10))
Using cached https://files.pythonhosted.org/packages/42/f4/f0031854de10a0bc7821ef9fca0b92ca0d7aa6fbfbf504c5473ba825e49c/Markdown-3.5.2-py3-none-any.whl
Collecting djongo5==1.3.9 (from -r requirements.txt (line 11))
Using cached https://files.pythonhosted.org/packages/1d/42/f3aaa938638cdf5c17a766950029bdb0a370580255a58cf2fb27fe487c66/djongo5-1.3.9-py3-none-any.whl
Collecting django-cors-headers==4.1.0 (from -r requirements.txt (line 12))
Using cached https://files.pythonhosted.org/packages/a0/2c/7df4f05a02b20b2c22ffc137b5a04f93214bbaf202fd2a29637ac694e0e4/django_cors_headers-4.1.0-py3-none-any.whl
Collecting pymongo==3.13.0 (from -r requirements.txt (line 13))
Using cached https://files.pythonhosted.org/packages/0b/9c/e1652def3cc841688402fcfa676eb14bd5551cb29c7e1b6f65488d89b30b/pymongo-3.13.0-cp38-cp38-manylinux1_x86_64.whl
Collecting dnspython==2.2.1 (from -r requirements.txt (line 14))
Using cached https://files.pythonhosted.org/packages/9b/ed/28fb14146c7033ba0e89decd92a4fa16b0b69b84471e2deab3cc4337cc35/dnspython-2.2.1-py3-none-any.whl
Collecting sqlparse==0.2.4 (from -r requirements.txt (line 15))
Using cached https://files.pythonhosted.org/packages/65/85/20bdd72f4537cf2c4d5d005368d502b2f464ede22982e724a82c86268eda/sqlparse-0.2.4-py2.py3-none-any.whl
Collecting psycopg2-binary==2.9.9 (from -r requirements.txt (line 16))
Using cached https://files.pythonhosted.org/packages/fc/07/e720e53bfab016ebcc34241695ccc06a9e3d91ba19b40ca81317afbdc440/psycopg2-binary-2.9.9.tar.gz
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-info/psycopg2_binary.egg-info
writing pip-egg-info/psycopg2_binary.egg-info/PKG-INFO
writing dependency_links to pip-egg-info/psycopg2_binary.egg-info/dependency_links.txt
writing top-level names to pip-egg-info/psycopg2_binary.egg-info/top_level.txt
writing manifest file 'pip-egg-info/psycopg2_binary.egg-info/SOURCES.txt'
Error: pg_config --libdir failed: You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.


----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-gwmtudh3/psycopg2-binary/
[root@ningan Qexo-3.4.1]#

小插曲:安装postgresql开发包

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[root@ningan Qexo-3.4.1]# psql --version
psql (PostgreSQL) 10.23 (Ubuntu 10.23-0ubuntu0.18.04.2)
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]# apt install postgresql-server-dev-X.Y
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package postgresql-server-dev-X.Y
E: Couldn't find any package by glob 'postgresql-server-dev-X.Y'
E: Couldn't find any package by regex 'postgresql-server-dev-X.Y'
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]# apt install postgresql-server-dev-10.23
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package postgresql-server-dev-10.23
E: Couldn't find any package by glob 'postgresql-server-dev-10.23'
E: Couldn't find any package by regex 'postgresql-server-dev-10.23'
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]# apt install libpq-dev
Reading package lists... Done
Building dependency tree... 50%
Building dependency tree
Reading state information... Done
Suggested packages:
postgresql-doc-10
The following NEW packages will be installed:
libpq-dev
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 219 kB of archives.
After this operation, 1,101 kB of additional disk space will be used.
Get:1 https://mirrors.aliyun.com/ubuntu bionic-security/main amd64 libpq-dev amd64 10.23-0ubuntu0.18.04.2 [219 kB]
Fetched 219 kB in 1s (415 kB/s)
Selecting previously unselected package libpq-dev.
(Reading database ... 279540 files and directories currently installed.)
Preparing to unpack .../libpq-dev_10.23-0ubuntu0.18.04.2_amd64.deb ...
Unpacking libpq-dev (10.23-0ubuntu0.18.04.2) ...
Setting up libpq-dev (10.23-0ubuntu0.18.04.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
[root@ningan Qexo-3.4.1]#


回到主线

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[root@ningan Qexo-3.4.1]# python3.8 -m pip install -r requirements.txt
Collecting Django==3.2.25 (from -r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/30/8e/cc23c762c5dcd1d367d73cf006a326e0df2bd0e785cba18b658b39904c1e/Django-3.2.25-py3-none-any.whl
Collecting PyMySQL==1.0.2 (from -r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/4f/52/a115fe175028b058df353c5a3d5290b71514a83f67078a6482cff24d6137/PyMySQL-1.0.2-py3-none-any.whl
Collecting boto3==1.34.44 (from -r requirements.txt (line 3))
Using cached https://files.pythonhosted.org/packages/15/1e/cbec55e05c0577429945d785cce8e16eebf2a8bd9c5ccda2b9c6e2a51ab4/boto3-1.34.44-py3-none-any.whl
Collecting requests==2.31.0 (from -r requirements.txt (line 4))
Using cached https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl
Collecting PyGithub==2.2.0 (from -r requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/37/56/6e038f8cd6b76984005cd5cf90926caa6898b4220984a32dbbdc044a3f18/PyGithub-2.2.0-py3-none-any.whl
Collecting python-gitlab==4.4.0 (from -r requirements.txt (line 6))
Using cached https://files.pythonhosted.org/packages/70/f3/82ec52f96bbcccd10a6ce8f145115d08463c54a374f31beb278aa16d8b25/python_gitlab-4.4.0-py3-none-any.whl
Collecting html2text==2020.1.16 (from -r requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/ae/88/14655f727f66b3e3199f4467bafcc88283e6c31b562686bf606264e09181/html2text-2020.1.16-py3-none-any.whl
Collecting PyYAML==6.0.1 (from -r requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/cd/e5/af35f7ea75cf72f2cd079c95ee16797de7cd71f29ea7c68ae5ce7be1eda0/PyYAML-6.0.1.tar.gz
Collecting urllib3==1.26.18 (from -r requirements.txt (line 9))
Using cached https://files.pythonhosted.org/packages/b0/53/aa91e163dcfd1e5b82d8a890ecf13314e3e149c05270cc644581f77f17fd/urllib3-1.26.18-py2.py3-none-any.whl
Collecting Markdown==3.5.2 (from -r requirements.txt (line 10))
Using cached https://files.pythonhosted.org/packages/42/f4/f0031854de10a0bc7821ef9fca0b92ca0d7aa6fbfbf504c5473ba825e49c/Markdown-3.5.2-py3-none-any.whl
Collecting djongo5==1.3.9 (from -r requirements.txt (line 11))
Using cached https://files.pythonhosted.org/packages/1d/42/f3aaa938638cdf5c17a766950029bdb0a370580255a58cf2fb27fe487c66/djongo5-1.3.9-py3-none-any.whl
Collecting django-cors-headers==4.1.0 (from -r requirements.txt (line 12))
Using cached https://files.pythonhosted.org/packages/a0/2c/7df4f05a02b20b2c22ffc137b5a04f93214bbaf202fd2a29637ac694e0e4/django_cors_headers-4.1.0-py3-none-any.whl
Collecting pymongo==3.13.0 (from -r requirements.txt (line 13))
Using cached https://files.pythonhosted.org/packages/0b/9c/e1652def3cc841688402fcfa676eb14bd5551cb29c7e1b6f65488d89b30b/pymongo-3.13.0-cp38-cp38-manylinux1_x86_64.whl
Collecting dnspython==2.2.1 (from -r requirements.txt (line 14))
Using cached https://files.pythonhosted.org/packages/9b/ed/28fb14146c7033ba0e89decd92a4fa16b0b69b84471e2deab3cc4337cc35/dnspython-2.2.1-py3-none-any.whl
Collecting sqlparse==0.2.4 (from -r requirements.txt (line 15))
Using cached https://files.pythonhosted.org/packages/65/85/20bdd72f4537cf2c4d5d005368d502b2f464ede22982e724a82c86268eda/sqlparse-0.2.4-py2.py3-none-any.whl
Collecting psycopg2-binary==2.9.9 (from -r requirements.txt (line 16))
Using cached https://files.pythonhosted.org/packages/fc/07/e720e53bfab016ebcc34241695ccc06a9e3d91ba19b40ca81317afbdc440/psycopg2-binary-2.9.9.tar.gz
Collecting cryptography==42.0.4 (from -r requirements.txt (line 17))
Cache entry deserialization failed, entry ignored
Downloading https://files.pythonhosted.org/packages/81/d8/214d25515bf6034dce99aba22eeb47443b14c82160114e3d3f33067c6d3b/cryptography-42.0.4.tar.gz (670kB)
100% |████████████████████████████████| 675kB 1.3MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.8/tokenize.py", line 392, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-xdpazwvh/cryptography/setup.py'

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-xdpazwvh/cryptography/
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]#

小插曲:升级pip

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[root@ningan Qexo-3.4.1]# python3.8 -m pip install cryptography==42.0.4
Collecting cryptography==42.0.4
Using cached https://files.pythonhosted.org/packages/81/d8/214d25515bf6034dce99aba22eeb47443b14c82160114e3d3f33067c6d3b/cryptography-42.0.4.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.8/tokenize.py", line 392, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-4r5u7y_l/cryptography/setup.py'

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-4r5u7y_l/cryptography/
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]# python3.8 -m pip install --upgrade pip
Cache entry deserialization failed, entry ignored
Collecting pip
Downloading https://files.pythonhosted.org/packages/ef/7d/500c9ad20238fcfcb4cb9243eede163594d7020ce87bd9610c9e02771876/pip-24.3.1-py3-none-any.whl (1.8MB)
100% |████████████████████████████████| 1.8MB 613kB/s
Installing collected packages: pip
Found existing installation: pip 9.0.1
Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr
Successfully installed pip-24.3.1
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]# python3.8 -m pip install cryptography==42.0.4
Collecting cryptography==42.0.4
Downloading cryptography-42.0.4-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.3 kB)
Collecting cffi>=1.12 (from cryptography==42.0.4)
Downloading cffi-1.17.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.12->cryptography==42.0.4)
Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Downloading cryptography-42.0.4-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 7.6 MB/s eta 0:00:00
Downloading cffi-1.17.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (446 kB)
Downloading pycparser-2.22-py3-none-any.whl (117 kB)
WARNING: Error parsing dependencies of bcc: Invalid version: '0.24.0-8f40d6f5'
WARNING: Error parsing dependencies of distro-info: Invalid version: '0.18ubuntu0.18.04.1'
Installing collected packages: pycparser, cffi, cryptography
Successfully installed cffi-1.17.1 cryptography-42.0.4 pycparser-2.22
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[root@ningan Qexo-3.4.1]#

回到主线

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
[root@ningan Qexo-3.4.1]# python3.8 -m pip install -r requirements.txt
Collecting Django==3.2.25 (from -r requirements.txt (line 1))
Downloading Django-3.2.25-py3-none-any.whl.metadata (4.1 kB)
Collecting PyMySQL==1.0.2 (from -r requirements.txt (line 2))
Downloading PyMySQL-1.0.2-py3-none-any.whl.metadata (5.1 kB)
Collecting boto3==1.34.44 (from -r requirements.txt (line 3))
Downloading boto3-1.34.44-py3-none-any.whl.metadata (6.6 kB)
Collecting requests==2.31.0 (from -r requirements.txt (line 4))
Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting PyGithub==2.2.0 (from -r requirements.txt (line 5))
Downloading PyGithub-2.2.0-py3-none-any.whl.metadata (3.8 kB)
Collecting python-gitlab==4.4.0 (from -r requirements.txt (line 6))
Downloading python_gitlab-4.4.0-py3-none-any.whl.metadata (7.7 kB)
Collecting html2text==2020.1.16 (from -r requirements.txt (line 7))
Downloading html2text-2020.1.16-py3-none-any.whl.metadata (4.3 kB)
Collecting PyYAML==6.0.1 (from -r requirements.txt (line 8))
Downloading PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting urllib3==1.26.18 (from -r requirements.txt (line 9))
Downloading urllib3-1.26.18-py2.py3-none-any.whl.metadata (48 kB)
Collecting Markdown==3.5.2 (from -r requirements.txt (line 10))
Downloading Markdown-3.5.2-py3-none-any.whl.metadata (7.0 kB)
Collecting djongo5==1.3.9 (from -r requirements.txt (line 11))
Downloading djongo5-1.3.9-py3-none-any.whl.metadata (1.9 kB)
Collecting django-cors-headers==4.1.0 (from -r requirements.txt (line 12))
Downloading django_cors_headers-4.1.0-py3-none-any.whl.metadata (16 kB)
Collecting pymongo==3.13.0 (from -r requirements.txt (line 13))
Downloading pymongo-3.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.7 kB)
Collecting dnspython==2.2.1 (from -r requirements.txt (line 14))
Downloading dnspython-2.2.1-py3-none-any.whl.metadata (4.9 kB)
Collecting sqlparse==0.2.4 (from -r requirements.txt (line 15))
Downloading sqlparse-0.2.4-py2.py3-none-any.whl.metadata (2.2 kB)
Collecting psycopg2-binary==2.9.9 (from -r requirements.txt (line 16))
Downloading psycopg2_binary-2.9.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.4 kB)
Requirement already satisfied: cryptography==42.0.4 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 17)) (42.0.4)
Collecting pyopenssl==24.0.0 (from -r requirements.txt (line 18))
Downloading pyOpenSSL-24.0.0-py3-none-any.whl.metadata (12 kB)
Collecting oss2==2.18.4 (from -r requirements.txt (line 19))
Downloading oss2-2.18.4.tar.gz (278 kB)
Preparing metadata (setup.py) ... done
Collecting beautifulsoup4==4.12.3 (from -r requirements.txt (line 20))
Downloading beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB)
Collecting upyun==2.5.5 (from -r requirements.txt (line 21))
Downloading upyun-2.5.5.tar.gz (19 kB)
Preparing metadata (setup.py) ... done
Collecting asgiref<4,>=3.3.2 (from Django==3.2.25->-r requirements.txt (line 1))
Downloading asgiref-3.8.1-py3-none-any.whl.metadata (9.3 kB)
Requirement already satisfied: pytz in /usr/lib/python3/dist-packages (from Django==3.2.25->-r requirements.txt (line 1)) (2018.3)
Collecting botocore<1.35.0,>=1.34.44 (from boto3==1.34.44->-r requirements.txt (line 3))
Downloading botocore-1.34.162-py3-none-any.whl.metadata (5.7 kB)
Collecting jmespath<2.0.0,>=0.7.1 (from boto3==1.34.44->-r requirements.txt (line 3))
Downloading jmespath-1.0.1-py3-none-any.whl.metadata (7.6 kB)
Collecting s3transfer<0.11.0,>=0.10.0 (from boto3==1.34.44->-r requirements.txt (line 3))
Downloading s3transfer-0.10.3-py3-none-any.whl.metadata (1.7 kB)
Collecting charset-normalizer<4,>=2 (from requests==2.31.0->-r requirements.txt (line 4))
Downloading charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (34 kB)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests==2.31.0->-r requirements.txt (line 4)) (2.6)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests==2.31.0->-r requirements.txt (line 4)) (2018.1.18)
Collecting pynacl>=1.4.0 (from PyGithub==2.2.0->-r requirements.txt (line 5))
Downloading PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.metadata (8.6 kB)
Collecting pyjwt>=2.4.0 (from pyjwt[crypto]>=2.4.0->PyGithub==2.2.0->-r requirements.txt (line 5))
Downloading PyJWT-2.9.0-py3-none-any.whl.metadata (3.0 kB)
Collecting typing-extensions>=4.0.0 (from PyGithub==2.2.0->-r requirements.txt (line 5))
Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting Deprecated (from PyGithub==2.2.0->-r requirements.txt (line 5))
Downloading Deprecated-1.2.14-py2.py3-none-any.whl.metadata (5.4 kB)
Collecting requests-toolbelt>=0.10.1 (from python-gitlab==4.4.0->-r requirements.txt (line 6))
Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl.metadata (14 kB)
Collecting importlib-metadata>=4.4 (from Markdown==3.5.2->-r requirements.txt (line 10))
Downloading importlib_metadata-8.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting pytz (from Django==3.2.25->-r requirements.txt (line 1))
Downloading pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.8/dist-packages (from cryptography==42.0.4->-r requirements.txt (line 17)) (1.17.1)
Collecting crcmod>=1.7 (from oss2==2.18.4->-r requirements.txt (line 19))
Downloading crcmod-1.7.tar.gz (89 kB)
Preparing metadata (setup.py) ... done
Collecting pycryptodome>=3.4.7 (from oss2==2.18.4->-r requirements.txt (line 19))
Downloading pycryptodome-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
Collecting aliyun-python-sdk-kms>=2.4.1 (from oss2==2.18.4->-r requirements.txt (line 19))
Downloading aliyun_python_sdk_kms-2.16.5-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting aliyun-python-sdk-core>=2.13.12 (from oss2==2.18.4->-r requirements.txt (line 19))
Downloading aliyun-python-sdk-core-2.16.0.tar.gz (449 kB)
Preparing metadata (setup.py) ... done
Collecting six (from oss2==2.18.4->-r requirements.txt (line 19))
Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting soupsieve>1.2 (from beautifulsoup4==4.12.3->-r requirements.txt (line 20))
Downloading soupsieve-2.6-py3-none-any.whl.metadata (4.6 kB)
Collecting jmespath<2.0.0,>=0.7.1 (from boto3==1.34.44->-r requirements.txt (line 3))
Downloading jmespath-0.10.0-py2.py3-none-any.whl.metadata (8.0 kB)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in /usr/lib/python3/dist-packages (from botocore<1.35.0,>=1.34.44->boto3==1.34.44->-r requirements.txt (line 3)) (2.6.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.8/dist-packages (from cffi>=1.12->cryptography==42.0.4->-r requirements.txt (line 17)) (2.22)
Collecting zipp>=3.20 (from importlib-metadata>=4.4->Markdown==3.5.2->-r requirements.txt (line 10))
Downloading zipp-3.20.2-py3-none-any.whl.metadata (3.7 kB)
Collecting wrapt<2,>=1.10 (from Deprecated->PyGithub==2.2.0->-r requirements.txt (line 5))
Downloading wrapt-1.16.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB)
Downloading Django-3.2.25-py3-none-any.whl (7.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.9/7.9 MB 12.1 MB/s eta 0:00:00
Downloading PyMySQL-1.0.2-py3-none-any.whl (43 kB)
Downloading boto3-1.34.44-py3-none-any.whl (139 kB)
Downloading requests-2.31.0-py3-none-any.whl (62 kB)
Downloading PyGithub-2.2.0-py3-none-any.whl (350 kB)
Downloading python_gitlab-4.4.0-py3-none-any.whl (138 kB)
Downloading html2text-2020.1.16-py3-none-any.whl (32 kB)
Downloading PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (736 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 736.6/736.6 kB 15.2 MB/s eta 0:00:00
Downloading urllib3-1.26.18-py2.py3-none-any.whl (143 kB)
Downloading Markdown-3.5.2-py3-none-any.whl (103 kB)
Downloading djongo5-1.3.9-py3-none-any.whl (51 kB)
Downloading django_cors_headers-4.1.0-py3-none-any.whl (12 kB)
Downloading pymongo-3.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (526 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 526.2/526.2 kB 16.1 MB/s eta 0:00:00
Downloading dnspython-2.2.1-py3-none-any.whl (269 kB)
Downloading sqlparse-0.2.4-py2.py3-none-any.whl (38 kB)
Downloading psycopg2_binary-2.9.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 15.3 MB/s eta 0:00:00
Downloading pyOpenSSL-24.0.0-py3-none-any.whl (58 kB)
Downloading beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
Downloading aliyun_python_sdk_kms-2.16.5-py2.py3-none-any.whl (99 kB)
Downloading asgiref-3.8.1-py3-none-any.whl (23 kB)
Downloading botocore-1.34.162-py3-none-any.whl (12.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.5/12.5 MB 13.7 MB/s eta 0:00:00
Downloading charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (143 kB)
Downloading importlib_metadata-8.5.0-py3-none-any.whl (26 kB)
Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Downloading pycryptodome-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 15.6 MB/s eta 0:00:00
Downloading PyJWT-2.9.0-py3-none-any.whl (22 kB)
Downloading PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 856.7/856.7 kB 11.2 MB/s eta 0:00:00
Downloading pytz-2024.2-py2.py3-none-any.whl (508 kB)
Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
Downloading s3transfer-0.10.3-py3-none-any.whl (82 kB)
Downloading soupsieve-2.6-py3-none-any.whl (36 kB)
Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Downloading Deprecated-1.2.14-py2.py3-none-any.whl (9.6 kB)
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Downloading wrapt-1.16.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (83 kB)
Downloading zipp-3.20.2-py3-none-any.whl (9.2 kB)
Building wheels for collected packages: oss2, upyun, aliyun-python-sdk-core, crcmod
Building wheel for oss2 (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-y1qa10vz/oss2_3c12511985784e818c946fc1cbf7dbca/setup.py", line 24, in <module>
setup(
File "/usr/local/lib/python3.8/dist-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/core.py", line 170, in setup
ok = dist.parse_command_line()
File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 472, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 901, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 531, in _parse_command_opts
cmd_class = self.get_command_class(command)
File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 738, in get_command_class
from .command.bdist_wheel import bdist_wheel
File "/usr/local/lib/python3.8/dist-packages/setuptools/command/bdist_wheel.py", line 26, in <module>
from wheel.wheelfile import WheelFile
ModuleNotFoundError: No module named 'wheel.wheelfile'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for oss2
Running setup.py clean for oss2
Building wheel for upyun (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-y1qa10vz/upyun_c4fed285bffc47f19b62abc4cfd8eb5c/setup.py", line 27, in <module>
setup(
File "/usr/local/lib/python3.8/dist-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/core.py", line 170, in setup
ok = dist.parse_command_line()
File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 472, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 901, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 531, in _parse_command_opts
cmd_class = self.get_command_class(command)
File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 738, in get_command_class
from .command.bdist_wheel import bdist_wheel
File "/usr/local/lib/python3.8/dist-packages/setuptools/command/bdist_wheel.py", line 26, in <module>
from wheel.wheelfile import WheelFile
ModuleNotFoundError: No module named 'wheel.wheelfile'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for upyun
Running setup.py clean for upyun
Building wheel for aliyun-python-sdk-core (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
exit code: 1
╰─> [21 lines of output]
Warning: 'classifiers' should be a list, got type 'tuple'
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-y1qa10vz/aliyun-python-sdk-core_6b94c9a9d0b64068a5e4eb579e9dd07b/setup.py", line 82, in <module>
setup(name='aliyun-python-sdk-core', **setup_args)
File "/usr/local/lib/python3.8/dist-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/core.py", line 170, in setup
ok = dist.parse_command_line()
File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 472, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 901, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 531, in _parse_command_opts
cmd_class = self.get_command_class(command)
File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 738, in get_command_class
from .command.bdist_wheel import bdist_wheel
File "/usr/local/lib/python3.8/dist-packages/setuptools/command/bdist_wheel.py", line 26, in <module>
from wheel.wheelfile import WheelFile
ModuleNotFoundError: No module named 'wheel.wheelfile'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for aliyun-python-sdk-core
Running setup.py clean for aliyun-python-sdk-core
Building wheel for crcmod (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
exit code: 1
╰─> [37 lines of output]
Traceback (most recent call last):
File "/tmp/pip-install-y1qa10vz/crcmod_0f0ce0da6c6b415fb56a5a6b682c5c09/setup.py", line 58, in <module>
setup(**setup_dict)
File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/core.py", line 170, in setup
ok = dist.parse_command_line()
File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 472, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 901, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 531, in _parse_command_opts
cmd_class = self.get_command_class(command)
File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 738, in get_command_class
from .command.bdist_wheel import bdist_wheel
File "/usr/local/lib/python3.8/dist-packages/setuptools/command/bdist_wheel.py", line 26, in <module>
from wheel.wheelfile import WheelFile
ModuleNotFoundError: No module named 'wheel.wheelfile'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-y1qa10vz/crcmod_0f0ce0da6c6b415fb56a5a6b682c5c09/setup.py", line 66, in <module>
setup(**setup_dict)
File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/core.py", line 170, in setup
ok = dist.parse_command_line()
File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 472, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 901, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/usr/local/lib/python3.8/dist-packages/setuptools/_distutils/dist.py", line 531, in _parse_command_opts
cmd_class = self.get_command_class(command)
File "/usr/local/lib/python3.8/dist-packages/setuptools/dist.py", line 738, in get_command_class
from .command.bdist_wheel import bdist_wheel
File "/usr/local/lib/python3.8/dist-packages/setuptools/command/bdist_wheel.py", line 26, in <module>
from wheel.wheelfile import WheelFile
ModuleNotFoundError: No module named 'wheel.wheelfile'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for crcmod
Running setup.py clean for crcmod
Failed to build oss2 upyun aliyun-python-sdk-core crcmod
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (oss2, upyun, aliyun-python-sdk-core, crcmod)
[root@ningan Qexo-3.4.1]#

小插曲:重新安装wheel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[root@ningan Qexo-3.4.1]# python3.8 -m pip install --upgrade --force-reinstall wheel
Collecting wheel
Downloading wheel-0.44.0-py3-none-any.whl.metadata (2.3 kB)
Downloading wheel-0.44.0-py3-none-any.whl (67 kB)
WARNING: Error parsing dependencies of bcc: Invalid version: '0.24.0-8f40d6f5'
WARNING: Error parsing dependencies of distro-info: Invalid version: '0.18ubuntu0.18.04.1'
Installing collected packages: wheel
Attempting uninstall: wheel
Found existing installation: wheel 0.30.0
Uninstalling wheel-0.30.0:
Successfully uninstalled wheel-0.30.0
Successfully installed wheel-0.44.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]#

回到主线

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
[root@ningan Qexo-3.4.1]# python3.8 -m pip install -r requirements.txt
Collecting Django==3.2.25 (from -r requirements.txt (line 1))
Using cached Django-3.2.25-py3-none-any.whl.metadata (4.1 kB)
Collecting PyMySQL==1.0.2 (from -r requirements.txt (line 2))
Using cached PyMySQL-1.0.2-py3-none-any.whl.metadata (5.1 kB)
Collecting boto3==1.34.44 (from -r requirements.txt (line 3))
Using cached boto3-1.34.44-py3-none-any.whl.metadata (6.6 kB)
Collecting requests==2.31.0 (from -r requirements.txt (line 4))
Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting PyGithub==2.2.0 (from -r requirements.txt (line 5))
Using cached PyGithub-2.2.0-py3-none-any.whl.metadata (3.8 kB)
Collecting python-gitlab==4.4.0 (from -r requirements.txt (line 6))
Using cached python_gitlab-4.4.0-py3-none-any.whl.metadata (7.7 kB)
Collecting html2text==2020.1.16 (from -r requirements.txt (line 7))
Using cached html2text-2020.1.16-py3-none-any.whl.metadata (4.3 kB)
Collecting PyYAML==6.0.1 (from -r requirements.txt (line 8))
Using cached PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting urllib3==1.26.18 (from -r requirements.txt (line 9))
Using cached urllib3-1.26.18-py2.py3-none-any.whl.metadata (48 kB)
Collecting Markdown==3.5.2 (from -r requirements.txt (line 10))
Using cached Markdown-3.5.2-py3-none-any.whl.metadata (7.0 kB)
Collecting djongo5==1.3.9 (from -r requirements.txt (line 11))
Using cached djongo5-1.3.9-py3-none-any.whl.metadata (1.9 kB)
Collecting django-cors-headers==4.1.0 (from -r requirements.txt (line 12))
Using cached django_cors_headers-4.1.0-py3-none-any.whl.metadata (16 kB)
Collecting pymongo==3.13.0 (from -r requirements.txt (line 13))
Using cached pymongo-3.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.7 kB)
Collecting dnspython==2.2.1 (from -r requirements.txt (line 14))
Using cached dnspython-2.2.1-py3-none-any.whl.metadata (4.9 kB)
Collecting sqlparse==0.2.4 (from -r requirements.txt (line 15))
Using cached sqlparse-0.2.4-py2.py3-none-any.whl.metadata (2.2 kB)
Collecting psycopg2-binary==2.9.9 (from -r requirements.txt (line 16))
Using cached psycopg2_binary-2.9.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.4 kB)
Requirement already satisfied: cryptography==42.0.4 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 17)) (42.0.4)
Collecting pyopenssl==24.0.0 (from -r requirements.txt (line 18))
Using cached pyOpenSSL-24.0.0-py3-none-any.whl.metadata (12 kB)
Collecting oss2==2.18.4 (from -r requirements.txt (line 19))
Using cached oss2-2.18.4.tar.gz (278 kB)
Preparing metadata (setup.py) ... done
Collecting beautifulsoup4==4.12.3 (from -r requirements.txt (line 20))
Using cached beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB)
Collecting upyun==2.5.5 (from -r requirements.txt (line 21))
Using cached upyun-2.5.5.tar.gz (19 kB)
Preparing metadata (setup.py) ... done
Collecting asgiref<4,>=3.3.2 (from Django==3.2.25->-r requirements.txt (line 1))
Using cached asgiref-3.8.1-py3-none-any.whl.metadata (9.3 kB)
Requirement already satisfied: pytz in /usr/lib/python3/dist-packages (from Django==3.2.25->-r requirements.txt (line 1)) (2018.3)
Collecting botocore<1.35.0,>=1.34.44 (from boto3==1.34.44->-r requirements.txt (line 3))
Using cached botocore-1.34.162-py3-none-any.whl.metadata (5.7 kB)
Collecting jmespath<2.0.0,>=0.7.1 (from boto3==1.34.44->-r requirements.txt (line 3))
Using cached jmespath-1.0.1-py3-none-any.whl.metadata (7.6 kB)
Collecting s3transfer<0.11.0,>=0.10.0 (from boto3==1.34.44->-r requirements.txt (line 3))
Using cached s3transfer-0.10.3-py3-none-any.whl.metadata (1.7 kB)
Collecting charset-normalizer<4,>=2 (from requests==2.31.0->-r requirements.txt (line 4))
Using cached charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (34 kB)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests==2.31.0->-r requirements.txt (line 4)) (2.6)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests==2.31.0->-r requirements.txt (line 4)) (2018.1.18)
Collecting pynacl>=1.4.0 (from PyGithub==2.2.0->-r requirements.txt (line 5))
Using cached PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.metadata (8.6 kB)
Collecting pyjwt>=2.4.0 (from pyjwt[crypto]>=2.4.0->PyGithub==2.2.0->-r requirements.txt (line 5))
Using cached PyJWT-2.9.0-py3-none-any.whl.metadata (3.0 kB)
Collecting typing-extensions>=4.0.0 (from PyGithub==2.2.0->-r requirements.txt (line 5))
Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting Deprecated (from PyGithub==2.2.0->-r requirements.txt (line 5))
Using cached Deprecated-1.2.14-py2.py3-none-any.whl.metadata (5.4 kB)
Collecting requests-toolbelt>=0.10.1 (from python-gitlab==4.4.0->-r requirements.txt (line 6))
Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl.metadata (14 kB)
Collecting importlib-metadata>=4.4 (from Markdown==3.5.2->-r requirements.txt (line 10))
Using cached importlib_metadata-8.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting pytz (from Django==3.2.25->-r requirements.txt (line 1))
Using cached pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.8/dist-packages (from cryptography==42.0.4->-r requirements.txt (line 17)) (1.17.1)
Collecting crcmod>=1.7 (from oss2==2.18.4->-r requirements.txt (line 19))
Using cached crcmod-1.7.tar.gz (89 kB)
Preparing metadata (setup.py) ... done
Collecting pycryptodome>=3.4.7 (from oss2==2.18.4->-r requirements.txt (line 19))
Using cached pycryptodome-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
Collecting aliyun-python-sdk-kms>=2.4.1 (from oss2==2.18.4->-r requirements.txt (line 19))
Using cached aliyun_python_sdk_kms-2.16.5-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting aliyun-python-sdk-core>=2.13.12 (from oss2==2.18.4->-r requirements.txt (line 19))
Using cached aliyun-python-sdk-core-2.16.0.tar.gz (449 kB)
Preparing metadata (setup.py) ... done
Collecting six (from oss2==2.18.4->-r requirements.txt (line 19))
Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting soupsieve>1.2 (from beautifulsoup4==4.12.3->-r requirements.txt (line 20))
Using cached soupsieve-2.6-py3-none-any.whl.metadata (4.6 kB)
Collecting jmespath<2.0.0,>=0.7.1 (from boto3==1.34.44->-r requirements.txt (line 3))
Using cached jmespath-0.10.0-py2.py3-none-any.whl.metadata (8.0 kB)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in /usr/lib/python3/dist-packages (from botocore<1.35.0,>=1.34.44->boto3==1.34.44->-r requirements.txt (line 3)) (2.6.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.8/dist-packages (from cffi>=1.12->cryptography==42.0.4->-r requirements.txt (line 17)) (2.22)
Collecting zipp>=3.20 (from importlib-metadata>=4.4->Markdown==3.5.2->-r requirements.txt (line 10))
Using cached zipp-3.20.2-py3-none-any.whl.metadata (3.7 kB)
Collecting wrapt<2,>=1.10 (from Deprecated->PyGithub==2.2.0->-r requirements.txt (line 5))
Using cached wrapt-1.16.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB)
Using cached Django-3.2.25-py3-none-any.whl (7.9 MB)
Using cached PyMySQL-1.0.2-py3-none-any.whl (43 kB)
Using cached boto3-1.34.44-py3-none-any.whl (139 kB)
Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Using cached PyGithub-2.2.0-py3-none-any.whl (350 kB)
Using cached python_gitlab-4.4.0-py3-none-any.whl (138 kB)
Using cached html2text-2020.1.16-py3-none-any.whl (32 kB)
Using cached PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (736 kB)
Using cached urllib3-1.26.18-py2.py3-none-any.whl (143 kB)
Using cached Markdown-3.5.2-py3-none-any.whl (103 kB)
Using cached djongo5-1.3.9-py3-none-any.whl (51 kB)
Using cached django_cors_headers-4.1.0-py3-none-any.whl (12 kB)
Using cached pymongo-3.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (526 kB)
Using cached dnspython-2.2.1-py3-none-any.whl (269 kB)
Using cached sqlparse-0.2.4-py2.py3-none-any.whl (38 kB)
Using cached psycopg2_binary-2.9.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)
Using cached pyOpenSSL-24.0.0-py3-none-any.whl (58 kB)
Using cached beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
Using cached aliyun_python_sdk_kms-2.16.5-py2.py3-none-any.whl (99 kB)
Using cached asgiref-3.8.1-py3-none-any.whl (23 kB)
Using cached botocore-1.34.162-py3-none-any.whl (12.5 MB)
Using cached charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (143 kB)
Using cached importlib_metadata-8.5.0-py3-none-any.whl (26 kB)
Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Using cached pycryptodome-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB)
Using cached PyJWT-2.9.0-py3-none-any.whl (22 kB)
Using cached PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)
Using cached pytz-2024.2-py2.py3-none-any.whl (508 kB)
Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
Using cached s3transfer-0.10.3-py3-none-any.whl (82 kB)
Using cached soupsieve-2.6-py3-none-any.whl (36 kB)
Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)
Using cached Deprecated-1.2.14-py2.py3-none-any.whl (9.6 kB)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Using cached wrapt-1.16.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (83 kB)
Using cached zipp-3.20.2-py3-none-any.whl (9.2 kB)
Building wheels for collected packages: oss2, upyun, aliyun-python-sdk-core, crcmod
Building wheel for oss2 (setup.py) ... done
Created wheel for oss2: filename=oss2-2.18.4-py3-none-any.whl size=115940 sha256=1e38b5d46faf1f72351842cf111b0339af5611aeeae29c8d5c7189f23baabc12
Stored in directory: /root/.cache/pip/wheels/3d/7e/b4/d1ddfa5624c5720f3bac0e73c058d7d16ca4ebdb28bc11b5cd
Building wheel for upyun (setup.py) ... done
Created wheel for upyun: filename=upyun-2.5.5-py3-none-any.whl size=17516 sha256=451e4043a0d309489c7c143a23c42c7f5507e431f5e647907ea5f3284f98ad2c
Stored in directory: /root/.cache/pip/wheels/80/49/84/6efc7937d178d60303b1a9c690fd293a5e193ebfa29b3513c6
Building wheel for aliyun-python-sdk-core (setup.py) ... done
Created wheel for aliyun-python-sdk-core: filename=aliyun_python_sdk_core-2.16.0-py3-none-any.whl size=535316 sha256=5e3db57da23072088b4c7f0430edc04f0c64668cc5a48b9bb5aa721c8f319a2c
Stored in directory: /root/.cache/pip/wheels/b2/49/69/4ff7cddf922bb14b3cd172290d83582ec72051d43333e70b69
Building wheel for crcmod (setup.py) ... done
Created wheel for crcmod: filename=crcmod-1.7-py3-none-any.whl size=18834 sha256=08d9dbc9269059696c5df9c187ea5d5f1c120ecfa265719e92757291401d7c2e
Stored in directory: /root/.cache/pip/wheels/ca/5a/02/f3acf982a026f3319fb3e798a8dca2d48fafee7761788562e9
Successfully built oss2 upyun aliyun-python-sdk-core crcmod
WARNING: Error parsing dependencies of bcc: Invalid version: '0.24.0-8f40d6f5'
WARNING: Error parsing dependencies of distro-info: Invalid version: '0.18ubuntu0.18.04.1'
Installing collected packages: sqlparse, pytz, crcmod, zipp, wrapt, urllib3, typing-extensions, soupsieve, six, PyYAML, PyMySQL, pymongo, pyjwt, pycryptodome, psycopg2-binary, jmespath, html2text, dnspython, charset-normalizer, requests, pynacl, importlib-metadata, Deprecated, botocore, beautifulsoup4, asgiref, upyun, s3transfer, requests-toolbelt, pyopenssl, Markdown, Django, aliyun-python-sdk-core, python-gitlab, PyGithub, djongo5, django-cors-headers, boto3, aliyun-python-sdk-kms, oss2
Attempting uninstall: pytz
Found existing installation: pytz 2018.3
Uninstalling pytz-2018.3:
Successfully uninstalled pytz-2018.3
Attempting uninstall: PyYAML
Found existing installation: PyYAML 3.12
error: uninstall-distutils-installed-package

× Cannot uninstall PyYAML 3.12
╰─> It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
[root@ningan Qexo-3.4.1]#

小插曲:包管理器来卸载PyYAML

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[root@ningan Qexo-3.4.1]# sudo apt-get remove python3-yaml
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apturl-common distro-info gir1.2-dbusmenu-glib-0.4 gir1.2-dee-1.0 gir1.2-javascriptcoregtk-4.0 gir1.2-unity-5.0 gir1.2-webkit2-4.0
gnome-session-bin gnome-session-common gnome-software-common gnome-startup-applications libappstream-glib8 libnetplan0
python3-dateutil python3-debconf python3-netifaces
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
python3-update-manager
The following packages will be REMOVED:
apturl gnome-software gnome-software-plugin-snap nautilus-share netplan.io nplan python3-yaml software-properties-gtk
ubuntu-advantage-desktop-daemon ubuntu-advantage-tools ubuntu-minimal ubuntu-release-upgrader-gtk ubuntu-software update-manager
update-manager-core update-notifier update-notifier-common
The following packages will be upgraded:
python3-update-manager
1 upgraded, 0 newly installed, 17 to remove and 1 not upgraded.
Need to get 35.4 kB of archives.
After this operation, 8,772 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 https://mirrors.aliyun.com/ubuntu bionic-updates/main amd64 python3-update-manager all 1:18.04.13.1 [35.4 kB]
Fetched 35.4 kB in 0s (142 kB/s)
(Reading database ... 279567 files and directories currently installed.)
Removing nautilus-share (0.7.3-2ubuntu3) ...
Removing apturl (0.5.2ubuntu14.2) ...
Removing gnome-software-plugin-snap (3.28.1-0ubuntu4.18.04.15) ...
Removing ubuntu-software (3.28.1-0ubuntu4.18.04.15) ...
Removing gnome-software (3.28.1-0ubuntu4.18.04.15) ...
Removing ubuntu-minimal (1.417.5) ...
Removing nplan (0.99-0ubuntu3~18.04.5) ...
Removing netplan.io (0.99-0ubuntu3~18.04.5) ...
dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan/cli/commands' not empty so not removed
dpkg: warning: while removing netplan.io, directory '/etc/netplan' not empty so not removed
Removing software-properties-gtk (0.96.24.32.22) ...
Removing ubuntu-advantage-desktop-daemon (1.10.ubuntu0.18.04.1~esm1) ...
Removing ubuntu-advantage-tools (28.1~18.04) ...
Removing update-manager (1:18.04.11.13) ...
Removing update-notifier (3.192.1.19) ...
Removing update-notifier-common (3.192.1.19) ...
Removing update-manager-core (1:18.04.11.13) ...
dpkg: warning: while removing update-manager-core, directory '/var/lib/update-manager' not empty so not removed
Removing python3-yaml (3.12-1build2) ...
Removing ubuntu-release-upgrader-gtk (1:18.04.45) ...
(Reading database ... 278835 files and directories currently installed.)
Preparing to unpack .../python3-update-manager_1%3a18.04.13.1_all.deb ...
Unpacking python3-update-manager (1:18.04.13.1) over (1:18.04.11.13) ...
Setting up python3-update-manager (1:18.04.13.1) ...
Processing triggers for shared-mime-info (1.9-2) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for dbus (1.12.2-1ubuntu1.4) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.9) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]#

回到主线

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[root@ningan Qexo-3.4.1]# python3.8 -m pip install -r requirements.txt
Collecting Django==3.2.25 (from -r requirements.txt (line 1))
Using cached Django-3.2.25-py3-none-any.whl.metadata (4.1 kB)
Collecting PyMySQL==1.0.2 (from -r requirements.txt (line 2))
Using cached PyMySQL-1.0.2-py3-none-any.whl.metadata (5.1 kB)
Collecting boto3==1.34.44 (from -r requirements.txt (line 3))
Using cached boto3-1.34.44-py3-none-any.whl.metadata (6.6 kB)
Collecting requests==2.31.0 (from -r requirements.txt (line 4))
Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting PyGithub==2.2.0 (from -r requirements.txt (line 5))
Using cached PyGithub-2.2.0-py3-none-any.whl.metadata (3.8 kB)
Collecting python-gitlab==4.4.0 (from -r requirements.txt (line 6))
Using cached python_gitlab-4.4.0-py3-none-any.whl.metadata (7.7 kB)
Collecting html2text==2020.1.16 (from -r requirements.txt (line 7))
Using cached html2text-2020.1.16-py3-none-any.whl.metadata (4.3 kB)
Collecting PyYAML==6.0.1 (from -r requirements.txt (line 8))
Using cached PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Requirement already satisfied: urllib3==1.26.18 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 9)) (1.26.18)
Collecting Markdown==3.5.2 (from -r requirements.txt (line 10))
Using cached Markdown-3.5.2-py3-none-any.whl.metadata (7.0 kB)
Collecting djongo5==1.3.9 (from -r requirements.txt (line 11))
Using cached djongo5-1.3.9-py3-none-any.whl.metadata (1.9 kB)
Collecting django-cors-headers==4.1.0 (from -r requirements.txt (line 12))
Using cached django_cors_headers-4.1.0-py3-none-any.whl.metadata (16 kB)
Collecting pymongo==3.13.0 (from -r requirements.txt (line 13))
Using cached pymongo-3.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.7 kB)
Collecting dnspython==2.2.1 (from -r requirements.txt (line 14))
Using cached dnspython-2.2.1-py3-none-any.whl.metadata (4.9 kB)
Requirement already satisfied: sqlparse==0.2.4 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 15)) (0.2.4)
Collecting psycopg2-binary==2.9.9 (from -r requirements.txt (line 16))
Using cached psycopg2_binary-2.9.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.4 kB)
Requirement already satisfied: cryptography==42.0.4 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 17)) (42.0.4)
Collecting pyopenssl==24.0.0 (from -r requirements.txt (line 18))
Using cached pyOpenSSL-24.0.0-py3-none-any.whl.metadata (12 kB)
Collecting oss2==2.18.4 (from -r requirements.txt (line 19))
Using cached oss2-2.18.4-py3-none-any.whl
Collecting beautifulsoup4==4.12.3 (from -r requirements.txt (line 20))
Using cached beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB)
Collecting upyun==2.5.5 (from -r requirements.txt (line 21))
Using cached upyun-2.5.5-py3-none-any.whl
Collecting asgiref<4,>=3.3.2 (from Django==3.2.25->-r requirements.txt (line 1))
Using cached asgiref-3.8.1-py3-none-any.whl.metadata (9.3 kB)
Requirement already satisfied: pytz in /usr/local/lib/python3.8/dist-packages (from Django==3.2.25->-r requirements.txt (line 1)) (2024.2)
Collecting botocore<1.35.0,>=1.34.44 (from boto3==1.34.44->-r requirements.txt (line 3))
Using cached botocore-1.34.162-py3-none-any.whl.metadata (5.7 kB)
Collecting jmespath<2.0.0,>=0.7.1 (from boto3==1.34.44->-r requirements.txt (line 3))
Using cached jmespath-1.0.1-py3-none-any.whl.metadata (7.6 kB)
Collecting s3transfer<0.11.0,>=0.10.0 (from boto3==1.34.44->-r requirements.txt (line 3))
Using cached s3transfer-0.10.3-py3-none-any.whl.metadata (1.7 kB)
Collecting charset-normalizer<4,>=2 (from requests==2.31.0->-r requirements.txt (line 4))
Using cached charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (34 kB)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests==2.31.0->-r requirements.txt (line 4)) (2.6)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests==2.31.0->-r requirements.txt (line 4)) (2018.1.18)
Collecting pynacl>=1.4.0 (from PyGithub==2.2.0->-r requirements.txt (line 5))
Using cached PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.metadata (8.6 kB)
Collecting pyjwt>=2.4.0 (from pyjwt[crypto]>=2.4.0->PyGithub==2.2.0->-r requirements.txt (line 5))
Using cached PyJWT-2.9.0-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: typing-extensions>=4.0.0 in /usr/local/lib/python3.8/dist-packages (from PyGithub==2.2.0->-r requirements.txt (line 5)) (4.12.2)
Collecting Deprecated (from PyGithub==2.2.0->-r requirements.txt (line 5))
Using cached Deprecated-1.2.14-py2.py3-none-any.whl.metadata (5.4 kB)
Collecting requests-toolbelt>=0.10.1 (from python-gitlab==4.4.0->-r requirements.txt (line 6))
Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl.metadata (14 kB)
Collecting importlib-metadata>=4.4 (from Markdown==3.5.2->-r requirements.txt (line 10))
Using cached importlib_metadata-8.5.0-py3-none-any.whl.metadata (4.8 kB)
Requirement already satisfied: cffi>=1.12 in /usr/local/lib/python3.8/dist-packages (from cryptography==42.0.4->-r requirements.txt (line 17)) (1.17.1)
Requirement already satisfied: crcmod>=1.7 in /usr/local/lib/python3.8/dist-packages (from oss2==2.18.4->-r requirements.txt (line 19)) (1.7)
Collecting pycryptodome>=3.4.7 (from oss2==2.18.4->-r requirements.txt (line 19))
Using cached pycryptodome-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
Collecting aliyun-python-sdk-kms>=2.4.1 (from oss2==2.18.4->-r requirements.txt (line 19))
Using cached aliyun_python_sdk_kms-2.16.5-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting aliyun-python-sdk-core>=2.13.12 (from oss2==2.18.4->-r requirements.txt (line 19))
Using cached aliyun_python_sdk_core-2.16.0-py3-none-any.whl
Requirement already satisfied: six in /usr/local/lib/python3.8/dist-packages (from oss2==2.18.4->-r requirements.txt (line 19)) (1.16.0)
Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.8/dist-packages (from beautifulsoup4==4.12.3->-r requirements.txt (line 20)) (2.6)
Collecting jmespath<2.0.0,>=0.7.1 (from boto3==1.34.44->-r requirements.txt (line 3))
Using cached jmespath-0.10.0-py2.py3-none-any.whl.metadata (8.0 kB)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in /usr/lib/python3/dist-packages (from botocore<1.35.0,>=1.34.44->boto3==1.34.44->-r requirements.txt (line 3)) (2.6.1)
Requirement already satisfied: pycparser in /usr/local/lib/python3.8/dist-packages (from cffi>=1.12->cryptography==42.0.4->-r requirements.txt (line 17)) (2.22)
Requirement already satisfied: zipp>=3.20 in /usr/local/lib/python3.8/dist-packages (from importlib-metadata>=4.4->Markdown==3.5.2->-r requirements.txt (line 10)) (3.20.2)
Requirement already satisfied: wrapt<2,>=1.10 in /usr/local/lib/python3.8/dist-packages (from Deprecated->PyGithub==2.2.0->-r requirements.txt (line 5)) (1.16.0)
Using cached Django-3.2.25-py3-none-any.whl (7.9 MB)
Using cached PyMySQL-1.0.2-py3-none-any.whl (43 kB)
Using cached boto3-1.34.44-py3-none-any.whl (139 kB)
Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Using cached PyGithub-2.2.0-py3-none-any.whl (350 kB)
Using cached python_gitlab-4.4.0-py3-none-any.whl (138 kB)
Using cached html2text-2020.1.16-py3-none-any.whl (32 kB)
Using cached PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (736 kB)
Using cached Markdown-3.5.2-py3-none-any.whl (103 kB)
Using cached djongo5-1.3.9-py3-none-any.whl (51 kB)
Using cached django_cors_headers-4.1.0-py3-none-any.whl (12 kB)
Using cached pymongo-3.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (526 kB)
Using cached dnspython-2.2.1-py3-none-any.whl (269 kB)
Using cached psycopg2_binary-2.9.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)
Using cached pyOpenSSL-24.0.0-py3-none-any.whl (58 kB)
Using cached beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
Using cached aliyun_python_sdk_kms-2.16.5-py2.py3-none-any.whl (99 kB)
Using cached asgiref-3.8.1-py3-none-any.whl (23 kB)
Using cached botocore-1.34.162-py3-none-any.whl (12.5 MB)
Using cached charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (143 kB)
Using cached importlib_metadata-8.5.0-py3-none-any.whl (26 kB)
Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Using cached pycryptodome-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB)
Using cached PyJWT-2.9.0-py3-none-any.whl (22 kB)
Using cached PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)
Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
Using cached s3transfer-0.10.3-py3-none-any.whl (82 kB)
Using cached Deprecated-1.2.14-py2.py3-none-any.whl (9.6 kB)
WARNING: Error parsing dependencies of bcc: Invalid version: '0.24.0-8f40d6f5'
WARNING: Error parsing dependencies of distro-info: Invalid version: '0.18ubuntu0.18.04.1'
Installing collected packages: PyYAML, PyMySQL, pymongo, pyjwt, pycryptodome, psycopg2-binary, jmespath, importlib-metadata, html2text, dnspython, Deprecated, charset-normalizer, beautifulsoup4, asgiref, requests, pynacl, Markdown, Django, botocore, upyun, s3transfer, requests-toolbelt, pyopenssl, djongo5, django-cors-headers, aliyun-python-sdk-core, python-gitlab, PyGithub, boto3, aliyun-python-sdk-kms, oss2
Successfully installed Deprecated-1.2.14 Django-3.2.25 Markdown-3.5.2 PyGithub-2.2.0 PyMySQL-1.0.2 PyYAML-6.0.1 aliyun-python-sdk-core-2.16.0 aliyun-python-sdk-kms-2.16.5 asgiref-3.8.1 beautifulsoup4-4.12.3 boto3-1.34.44 botocore-1.34.162 charset-normalizer-3.4.0 django-cors-headers-4.1.0 djongo5-1.3.9 dnspython-2.2.1 html2text-2020.1.16 importlib-metadata-8.5.0 jmespath-0.10.0 oss2-2.18.4 psycopg2-binary-2.9.9 pycryptodome-3.21.0 pyjwt-2.9.0 pymongo-3.13.0 pynacl-1.5.0 pyopenssl-24.0.0 python-gitlab-4.4.0 requests-2.31.0 requests-toolbelt-1.0.0 s3transfer-0.10.3 upyun-2.5.5
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[root@ningan Qexo-3.4.1]#

主线2

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[root@ningan Qexo-3.4.1]# python3.8 manage.py makemigrations
获取本地配置文件成功, 使用本地数据库配置
[02/Nov/2024 11:26:11] ERROR: Language获取失败, 默认为zh_CN(functions.py.<module>[line:60])
[02/Nov/2024 11:26:11] ERROR: 获取PROVIDER时出错: 跳过(functions.py.<module>[line:79])
_ _
/\ | | | |
/ \ | |__ _ _ __| |_ _
/ /\ \ | |_ \| | | |/ _| | | | |
/ ____ \| |_) | |_| | (_| | |_| |
/_/ \_\____/ \____|\____|\____|
当前环境: 本地
/usr/local/lib/python3.8/dist-packages/django/core/management/commands/makemigrations.py:105: RuntimeWarning: Got an error checking a consistent migration history performed for database connection 'default': (2003, "Can't connect to MySQL server on '192.168.20.201' ([Errno 111] Connection refused)")
warnings.warn(
No changes detected
[root@ningan Qexo-3.4.1]#

小插曲:启动mysql容器

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[root@ningan Qexo-3.4.1]# docker ps 
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
933dad3ceaa4 mysql "docker-entrypoint.s…" 31 hours ago Exited (0) 16 hours ago qexo
b5a90d496b13 mysql "docker-entrypoint.s…" 31 hours ago Exited (130) 31 hours ago hungry_swartz
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]# netstat -nltp |grep 3306
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]# docker start qexo
qexo
[root@ningan Qexo-3.4.1]#
[root@ningan Qexo-3.4.1]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
933dad3ceaa4 mysql "docker-entrypoint.s…" 31 hours ago Up 3 seconds 0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp qexo
[root@ningan Qexo-3.4.1]# netstat -nltp |grep 3306
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 13530/docker-proxy
tcp6 0 0 :::3306 :::* LISTEN 13537/docker-proxy

回到主线

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[root@ningan Qexo-3.4.1]# python3.8 manage.py makemigrations
获取本地配置文件成功, 使用本地数据库配置
[02/Nov/2024 11:28:50] ERROR: Language获取失败, 默认为zh_CN(functions.py.<module>[line:60])
[02/Nov/2024 11:28:50] ERROR: 获取PROVIDER时出错: 跳过(functions.py.<module>[line:79])
_ _
/\ | | | |
/ \ | |__ _ _ __| |_ _
/ /\ \ | |_ \| | | |/ _| | | | |
/ ____ \| |_) | |_| | (_| | |_| |
/_/ \_\____/ \____|\____|\____|
当前环境: 本地
No changes detected

[root@ningan Qexo-3.4.1]# python3.8 manage.py migrate
获取本地配置文件成功, 使用本地数据库配置
[02/Nov/2024 11:29:40] ERROR: Language获取失败, 默认为zh_CN(functions.py.<module>[line:60])
[02/Nov/2024 11:29:40] ERROR: 获取PROVIDER时出错: 跳过(functions.py.<module>[line:79])
_ _
/\ | | | |
/ \ | |__ _ _ __| |_ _
/ /\ \ | |_ \| | | |/ _| | | | |
/ ____ \| |_) | |_| | (_| | |_| |
/_/ \_\____/ \____|\____|\____|
当前环境: 本地
Operations to perform:
Apply all migrations: auth, contenttypes, hexoweb, sessions
Running migrations:
Applying contenttypes.0001_initial... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0001_initial... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying auth.0007_alter_validators_add_error_messages... OK
Applying auth.0008_alter_user_username_max_length... OK
Applying auth.0009_alter_user_last_name_max_length... OK
Applying auth.0010_alter_group_name_max_length... OK
Applying auth.0011_update_proxy_permissions... OK
Applying auth.0012_alter_user_first_name_max_length... OK
Applying hexoweb.0001_initial... OK
Applying hexoweb.0002_postmodel... OK
Applying hexoweb.0003_imagemodel_deleteconfig... OK
Applying sessions.0001_initial... OK
[root@ningan Qexo-3.4.1]#

[root@ningan Qexo-3.4.1]# python3.8 manage.py runserver --noreload
获取本地配置文件成功, 使用本地数据库配置
Performing system checks...

[02/Nov/2024 11:29:55] ERROR: Language获取失败, 默认为zh_CN(functions.py.<module>[line:60])
[02/Nov/2024 11:29:55] ERROR: 获取PROVIDER时出错: 跳过(functions.py.<module>[line:79])
_ _
/\ | | | |
/ \ | |__ _ _ __| |_ _
/ /\ \ | |_ \| | | |/ _| | | | |
/ ____ \| |_) | |_| | (_| | |_| |
/_/ \_\____/ \____|\____|\____|
当前环境: 本地
System check identified no issues (0 silenced).
November 02, 2024 - 11:29:55
Django version 3.2.25, using settings 'core.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

成功啦~

上面这样只能跑在127.0.0.1,下面这样可以跑在0.0.0.0上

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[root@ningan Qexo-3.4.1]# python3.8 manage.py runserver 0.0.0.0:8000 --noreload
获取本地配置文件成功, 使用本地数据库配置
Performing system checks...

[02/Nov/2024 11:37:14] ERROR: 获取PROVIDER时出错: 跳过(functions.py.<module>[line:79])
_ _
/\ | | | |
/ \ | |__ _ _ __| |_ _
/ /\ \ | |_ \| | | |/ _| | | | |
/ ____ \| |_) | |_| | (_| | |_| |
/_/ \_\____/ \____|\____|\____|
当前环境: 本地
System check identified no issues (0 silenced).
November 02, 2024 - 11:37:14
Django version 3.2.25, using settings 'core.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.

访问我虚拟机的地址:192.168.20.201:8000

设置用户和github中博客私有仓库的地址github.io/blog,登录进来就能看到下面的页面啦~

image.png

参考

在服务器上部署Hexo+Qexo


【hexo系列】04.使用qexo管理hexo
http://example.com/2024/11/01/hexo/【hexo系列】04.使用qexo管理hexo/
作者
ningan123
发布于
2024年11月1日
许可协议