教育之宗旨,在使儿童成为自治自立的人物,而不是受制于他人的人物。——斯宾诺莎

官方文档:

pipx

github:

https://github.com/pypa/pipx

我们安装:

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
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
Github-Id-VampireAchao:~ achao$ brew install pipx
HOMEBREW_BREW_GIT_REMOTE set: using https://mirrors.ustc.edu.cn/brew.git as the Homebrew/brew Git remote.
remote: Enumerating objects: 458, done.
remote: Counting objects: 100% (159/159), done.
remote: Total 458 (delta 159), reused 159 (delta 159), pack-reused 299
Receiving objects: 100% (458/458), 300.25 KiB | 1.10 MiB/s, done.
Resolving deltas: 100% (261/261), completed with 90 local objects.
From https://mirrors.ustc.edu.cn/brew
9160445818..d1509cbef0 master -> origin/master
* [new tag] 4.3.24 -> 4.3.24
==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
cyphernetes goku libnice-gstreamer mbpoll
git-spice kty llvm@18
==> New Casks
localsend

You have 67 outdated formulae and 2 outdated casks installed.

==> Fetching dependencies for pipx: ca-certificates, openssl@3, readline, sqlite and python@3.12
==> Fetching ca-certificates
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/ca-certificates-2024-09-24.all.
############################################################################################# 100.0%
==> Fetching openssl@3
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/openssl%403-3.3.2.arm64_sequoia
############################################################################################# 100.0%
==> Fetching readline
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/readline-8.2.13.arm64_sequoia.b
############################################################################################# 100.0%
==> Fetching sqlite
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/sqlite-3.46.1.arm64_sequoia.bot
############################################################################################# 100.0%
==> Fetching python@3.12
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/python%403.12-3.12.6.arm64_sequ
############################################################################################# 100.0%
==> Fetching pipx
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/pipx-1.7.1.arm64_sequoia.bottle
############################################################################################# 100.0%
==> Installing dependencies for pipx: ca-certificates, openssl@3, readline, sqlite and python@3.12
==> Installing pipx dependency: ca-certificates
==> Pouring ca-certificates-2024-09-24.all.bottle.tar.gz
==> Regenerating CA certificate bundle from keychain, this may take a while...
🍺 /opt/homebrew/Cellar/ca-certificates/2024-09-24: 4 files, 237.3KB
==> Installing pipx dependency: openssl@3
==> Pouring openssl@3-3.3.2.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/openssl@3/3.3.2: 6,984 files, 32.5MB
==> Installing pipx dependency: readline
==> Pouring readline-8.2.13.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/readline/8.2.13: 51 files, 1.7MB
==> Installing pipx dependency: sqlite
==> Pouring sqlite-3.46.1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/sqlite/3.46.1: 12 files, 4.8MB
==> Installing pipx dependency: python@3.12
==> Pouring python@3.12-3.12.6.arm64_sequoia.bottle.tar.gz
==> /opt/homebrew/Cellar/python@3.12/3.12.6/bin/python3.12 -Im ensurepip
==> /opt/homebrew/Cellar/python@3.12/3.12.6/bin/python3.12 -Im pip install -v --no-index --upgrade -
🍺 /opt/homebrew/Cellar/python@3.12/3.12.6: 3,263 files, 65.2MB
==> Installing pipx
==> Pouring pipx-1.7.1.arm64_sequoia.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/opt/homebrew/etc/bash_completion.d
==> Summary
🍺 /opt/homebrew/Cellar/pipx/1.7.1: 154 files, 1017.2KB
==> Running `brew cleanup pipx`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Upgrading 20 dependents of upgraded formulae:
Disable this behaviour by setting HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
certifi 2024.7.4 -> 2024.8.30, cocoapods 1.15.2 -> 1.15.2_1, curl 8.9.1 -> 8.10.1, glib 2.80.4 -> 2.82.1, ffmpeg 7.0.2 -> 7.0.2_1, harfbuzz 9.0.0 -> 10.0.1, imagemagick 7.1.1-36 -> 7.1.1-38_2, keyring 25.3.0 -> 25.4.1, libssh 0.11.0 -> 0.11.1, libxml2 2.12.7 -> 2.13.4, lima 0.22.0 -> 0.23.2, llvm 18.1.8 -> 19.1.0, passenger 6.0.23 -> 6.0.23_1, pyenv 2.4.10 -> 2.4.13, qemu 9.0.2 -> 9.1.0, ruby 3.3.4 -> 3.3.5, ruby-build 20240727 -> 20240917, scrcpy 2.6.1 -> 2.7, unbound 1.20.0 -> 1.21.0, virtualenv 20.26.3 -> 20.26.5
==> Fetching libxml2
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libxml2-2.13.4.arm64_sequoia.bo
############################################################################################# 100.0%
==> Fetching dependencies for curl: libnghttp2 and lz4
==> Fetching libnghttp2
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libnghttp2-1.63.0.arm64_sequoia
############################################################################################# 100.0%
==> Fetching lz4
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/lz4-1.10.0.arm64_sequoia.bottle
############################################################################################# 100.0%
==> Fetching curl
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/curl-8.10.1.arm64_sequoia.bottl
############################################################################################# 100.0%
==> Fetching llvm
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/llvm-19.1.0.arm64_sequoia.bottl
############################################################################################# 100.0%
==> Fetching ruby
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/ruby-3.3.5.arm64_sequoia.bottle
############################################################################################# 100.0%
==> Fetching dependencies for glib: python-packaging
==> Fetching python-packaging
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/python-packaging-24.1.all.bottl
############################################################################################# 100.0%
==> Fetching glib
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/glib-2.82.1.arm64_sequoia.bottl
############################################################################################# 100.0%
==> Fetching dependencies for harfbuzz: libpng, freetype and cairo
==> Fetching libpng
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libpng-1.6.44.arm64_sequoia.bot
############################################################################################# 100.0%
==> Fetching freetype
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/freetype-2.13.3.arm64_sequoia.b
############################################################################################# 100.0%
==> Fetching cairo
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/cairo-1.18.2.arm64_sequoia.bott
############################################################################################# 100.0%
==> Fetching harfbuzz
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/harfbuzz-10.0.1.arm64_sequoia.b
############################################################################################# 100.0%
==> Fetching dependencies for imagemagick: jpeg-turbo, libtiff, libarchive, ghostscript, imath, jpeg-xl, aom, liblqr, libomp, libraw and libtool
==> Fetching jpeg-turbo
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/jpeg-turbo-3.0.4.arm64_sequoia.
############################################################################################# 100.0%
==> Fetching libtiff
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libtiff-4.7.0.arm64_sequoia.bot
############################################################################################# 100.0%
==> Fetching libarchive
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libarchive-3.7.6.arm64_sequoia.
############################################################################################# 100.0%
==> Fetching ghostscript
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/ghostscript-10.04.0.arm64_sequo
############################################################################################# 100.0%
==> Fetching imath
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/imath-3.1.12.arm64_sequoia.bott
############################################################################################# 100.0%
==> Fetching jpeg-xl
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/jpeg-xl-0.11.0.arm64_sequoia.bo
############################################################################################# 100.0%
==> Fetching aom
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/aom-3.10.0.arm64_sequoia.bottle
############################################################################################# 100.0%
==> Fetching liblqr
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/liblqr-0.4.3.arm64_sequoia.bott
############################################################################################# 100.0%
==> Fetching libomp
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libomp-19.1.0.arm64_sequoia.bot
############################################################################################# 100.0%
==> Fetching libraw
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libraw-0.21.3.arm64_sequoia.bot
############################################################################################# 100.0%
==> Fetching libtool
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libtool-2.5.3.arm64_sequoia.bot
curl: (56) The requested URL returned error: 404

Warning: Bottle missing, falling back to the default domain...
==> Downloading https://ghcr.io/v2/homebrew/core/libtool/manifests/2.5.3
############################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libtool/blobs/sha256:1f26cc2d321343e11736fa4f7aea03
############################################################################################# 100.0%
==> Fetching imagemagick
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/imagemagick-7.1.1-38_2.arm64_se
############################################################################################# 100.0%
==> Fetching keyring
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/keyring-25.4.1.arm64_sequoia.bo
############################################################################################# 100.0%
==> Fetching libssh
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/libssh-0.11.1.arm64_sequoia.bot
############################################################################################# 100.0%
==> Fetching unbound
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/unbound-1.21.0.arm64_sequoia.bo
############################################################################################# 100.0%
==> Fetching dependencies for qemu: capstone and dtc
==> Fetching capstone
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/capstone-5.0.3.arm64_sequoia.bo
############################################################################################# 100.0%
==> Fetching dtc
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/dtc-1.7.1.arm64_sequoia.bottle.
############################################################################################# 100.0%
==> Fetching qemu
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/qemu-9.1.0.arm64_sequoia.bottle
############################################################################################# 100.0%
==> Fetching lima
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/lima-0.23.2.arm64_sequoia.bottl
############################################################################################# 100.0%
==> Fetching dependencies for passenger: apr
==> Fetching apr
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/apr-1.7.5.arm64_sequoia.bottle.
############################################################################################# 100.0%
==> Fetching passenger
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/passenger-6.0.23_1.arm64_sequoi
############################################################################################# 100.0%
==> Fetching pyenv
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/pyenv-2.4.13.arm64_sequoia.bott
############################################################################################# 100.0%
==> Fetching ruby-build
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/ruby-build-20240917.all.bottle.
############################################################################################# 100.0%
==> Fetching dependencies for ffmpeg: mbedtls, sdl2 and svt-av1
==> Fetching mbedtls
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/mbedtls-3.6.1.arm64_sequoia.bot
############################################################################################# 100.0%
==> Fetching sdl2
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/sdl2-2.30.7.arm64_sequoia.bottl
############################################################################################# 100.0%
==> Fetching svt-av1
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/svt-av1-2.2.1.arm64_sequoia.bot
############################################################################################# 100.0%
==> Fetching ffmpeg
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/ffmpeg-7.0.2_1.arm64_sequoia.bo
############################################################################################# 100.0%
==> Fetching scrcpy
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/scrcpy-2.7.arm64_sequoia.bottle
############################################################################################# 100.0%
==> Fetching certifi
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/certifi-2024.8.30.arm64_sequoia
############################################################################################# 100.0%
==> Fetching virtualenv
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/virtualenv-20.26.5.arm64_sequoi
############################################################################################# 100.0%
==> Fetching cocoapods
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/cocoapods-1.15.2_1.arm64_sequoi
############################################################################################# 100.0%
==> Upgrading libxml2
2.12.7 -> 2.13.4
==> Pouring libxml2-2.13.4.arm64_sequoia.bottle.tar.gz
==> Caveats
libxml2 is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have libxml2 first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/libxml2/bin:$PATH"' >> /Users/achao/.bash_profile

For compilers to find libxml2 you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/libxml2/lib"
export CPPFLAGS="-I/opt/homebrew/opt/libxml2/include"

For pkg-config to find libxml2 you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/libxml2/lib/pkgconfig"
==> Summary
🍺 /opt/homebrew/Cellar/libxml2/2.13.4: 135 files, 6.2MB
==> Running `brew cleanup libxml2`...
Removing: /opt/homebrew/Cellar/libxml2/2.12.7... (201 files, 6.4MB)
==> Upgrading curl
8.9.1 -> 8.10.1
==> Installing dependencies for curl: libnghttp2 and lz4
==> Installing curl dependency: libnghttp2
==> Pouring libnghttp2-1.63.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libnghttp2/1.63.0: 14 files, 804.5KB
==> Installing curl dependency: lz4
==> Pouring lz4-1.10.0.arm64_sequoia.bottle.1.tar.gz
🍺 /opt/homebrew/Cellar/lz4/1.10.0: 24 files, 713.4KB
==> Installing curl
==> Pouring curl-8.10.1.arm64_sequoia.bottle.tar.gz
==> Caveats
curl is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have curl first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/curl/bin:$PATH"' >> /Users/achao/.bash_profile

For compilers to find curl you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/curl/lib"
export CPPFLAGS="-I/opt/homebrew/opt/curl/include"

For pkg-config to find curl you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/curl/lib/pkgconfig"
==> Summary
🍺 /opt/homebrew/Cellar/curl/8.10.1: 530 files, 4MB
==> Running `brew cleanup curl`...
Removing: /opt/homebrew/Cellar/curl/8.9.1... (529 files, 4.3MB)
==> Upgrading llvm
18.1.8 -> 19.1.0
==> Pouring llvm-19.1.0.arm64_sequoia.bottle.tar.gz
==> Caveats
To use the bundled libc++ please add the following LDFLAGS:
LDFLAGS="-L/opt/homebrew/opt/llvm/lib/c++ -L/opt/homebrew/opt/llvm/lib -lunwind"

llvm is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have llvm first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> /Users/achao/.bash_profile

For compilers to find llvm you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
==> Summary
🍺 /opt/homebrew/Cellar/llvm/19.1.0: 8,068 files, 1.9GB
==> Running `brew cleanup llvm`...
Removing: /opt/homebrew/Cellar/llvm/18.1.8... (7,722 files, 1.8GB)
==> Upgrading ruby
3.3.4 -> 3.3.5
==> Pouring ruby-3.3.5.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/ruby/3.3.5: 19,852 files, 51.7MB
==> Running `brew cleanup ruby`...
Removing: /opt/homebrew/Cellar/ruby/3.3.4... (19,837 files, 51.7MB)
==> Upgrading glib
2.80.4 -> 2.82.1
==> Installing dependencies for glib: python-packaging
==> Installing glib dependency: python-packaging
==> Pouring python-packaging-24.1.all.bottle.1.tar.gz
🍺 /opt/homebrew/Cellar/python-packaging/24.1: 52 files, 374.5KB
==> Installing glib
==> Pouring glib-2.82.1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/glib/2.82.1: 504 files, 36.3MB
==> Running `brew cleanup glib`...
Removing: /opt/homebrew/Cellar/glib/2.80.4... (526 files, 36.2MB)
==> Upgrading harfbuzz
9.0.0 -> 10.0.1
==> Installing dependencies for harfbuzz: libpng, freetype and cairo
==> Installing harfbuzz dependency: libpng
==> Pouring libpng-1.6.44.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libpng/1.6.44: 28 files, 1.3MB
==> Installing harfbuzz dependency: freetype
==> Pouring freetype-2.13.3.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/freetype/2.13.3: 68 files, 2.5MB
==> Installing harfbuzz dependency: cairo
==> Pouring cairo-1.18.2.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/cairo/1.18.2: 53 files, 2.2MB
==> Installing harfbuzz
==> Pouring harfbuzz-10.0.1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/harfbuzz/10.0.1: 77 files, 9.5MB
==> Running `brew cleanup harfbuzz`...
Removing: /opt/homebrew/Cellar/harfbuzz/9.0.0... (77 files, 9.7MB)
==> Upgrading imagemagick
7.1.1-36 -> 7.1.1-38_2
==> Installing dependencies for imagemagick: jpeg-turbo, libtiff, libarchive, ghostscript, imath, jpeg-xl, aom, liblqr, libomp, libraw and libtool
==> Installing imagemagick dependency: jpeg-turbo
==> Pouring jpeg-turbo-3.0.4.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/jpeg-turbo/3.0.4: 45 files, 3.4MB
==> Installing imagemagick dependency: libtiff
==> Pouring libtiff-4.7.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libtiff/4.7.0: 486 files, 8.4MB
==> Installing imagemagick dependency: libarchive
==> Pouring libarchive-3.7.6.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libarchive/3.7.6: 65 files, 3.8MB
==> Installing imagemagick dependency: ghostscript
==> Pouring ghostscript-10.04.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/ghostscript/10.04.0: 640 files, 121.9MB
==> Installing imagemagick dependency: imath
==> Pouring imath-3.1.12.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/imath/3.1.12: 50 files, 947KB
==> Installing imagemagick dependency: jpeg-xl
==> Pouring jpeg-xl-0.11.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/jpeg-xl/0.11.0: 64 files, 35MB
==> Installing imagemagick dependency: aom
==> Pouring aom-3.10.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/aom/3.10.0: 24 files, 10MB
==> Installing imagemagick dependency: liblqr
==> Pouring liblqr-0.4.3.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/liblqr/0.4.3: 114 files, 333.3KB
==> Installing imagemagick dependency: libomp
==> Pouring libomp-19.1.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libomp/19.1.0: 9 files, 1.7MB
==> Installing imagemagick dependency: libraw
==> Pouring libraw-0.21.3.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libraw/0.21.3: 74 files, 5.9MB
==> Installing imagemagick dependency: libtool
==> Downloading https://ghcr.io/v2/homebrew/core/libtool/manifests/2.5.3
Already downloaded: /Users/achao/Library/Caches/Homebrew/downloads/a3fb370c644cf73593e4df8b5c40f2ccb0459d57248d95aba050def3c96414ad--libtool-2.5.3.bottle_manifest.json
==> Pouring libtool--2.5.3.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libtool/2.5.3: 76 files, 3.9MB
==> Installing imagemagick
==> Pouring imagemagick-7.1.1-38_2.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/imagemagick/7.1.1-38_2: 808 files, 32.4MB
==> Running `brew cleanup imagemagick`...
Removing: /opt/homebrew/Cellar/imagemagick/7.1.1-36... (808 files, 32.3MB)
==> Upgrading keyring
25.3.0 -> 25.4.1
==> Pouring keyring-25.4.1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/keyring/25.4.1: 156 files, 689.3KB
==> Running `brew cleanup keyring`...
Removing: /opt/homebrew/Cellar/keyring/25.3.0... (155 files, 680KB)
==> Upgrading libssh
0.11.0 -> 0.11.1
==> Pouring libssh-0.11.1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/libssh/0.11.1: 25 files, 1.4MB
==> Running `brew cleanup libssh`...
Removing: /opt/homebrew/Cellar/libssh/0.11.0... (25 files, 1.4MB)
==> Upgrading unbound
1.20.0 -> 1.21.0
==> Pouring unbound-1.21.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/unbound/1.21.0: 59 files, 6.0MB
==> Running `brew cleanup unbound`...
Removing: /opt/homebrew/Cellar/unbound/1.20.0... (59 files, 5.9MB)
==> Upgrading qemu
9.0.2 -> 9.1.0
==> Installing dependencies for qemu: capstone and dtc
==> Installing qemu dependency: capstone
==> Pouring capstone-5.0.3.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/capstone/5.0.3: 31 files, 22.4MB
==> Installing qemu dependency: dtc
==> Pouring dtc-1.7.1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/dtc/1.7.1: 19 files, 626.3KB
==> Installing qemu
==> Pouring qemu-9.1.0.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/qemu/9.1.0: 165 files, 642.8MB
==> Running `brew cleanup qemu`...
Removing: /opt/homebrew/Cellar/qemu/9.0.2... (164 files, 577.5MB)
==> Upgrading lima
0.22.0 -> 0.23.2
==> Pouring lima-0.23.2.arm64_sequoia.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/opt/homebrew/etc/bash_completion.d
==> Summary
🍺 /opt/homebrew/Cellar/lima/0.23.2: 109 files, 202.5MB
==> Running `brew cleanup lima`...
Removing: /opt/homebrew/Cellar/lima/0.22.0... (109 files, 175.4MB)
==> Upgrading passenger
6.0.23 -> 6.0.23_1
==> Installing dependencies for passenger: apr
==> Installing passenger dependency: apr
==> Pouring apr-1.7.5.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/apr/1.7.5: 60 files, 1.4MB
==> Installing passenger
==> Pouring passenger-6.0.23_1.arm64_sequoia.bottle.tar.gz
==> Caveats
To activate Phusion Passenger for Nginx, run:
brew install nginx
And add the following to /opt/homebrew/etc/nginx/nginx.conf at the top scope (outside http{}):
load_module /opt/homebrew/opt/passenger/libexec/modules/ngx_http_passenger_module.so;
And add the following to /opt/homebrew/etc/nginx/nginx.conf in the http scope:
passenger_root /opt/homebrew/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini;
passenger_ruby /usr/bin/ruby;

To activate Phusion Passenger for Apache, create /etc/apache2/other/passenger.conf:
LoadModule passenger_module /opt/homebrew/opt/passenger/libexec/buildout/apache2/mod_passenger.so
PassengerRoot /opt/homebrew/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini
PassengerDefaultRuby /usr/bin/ruby
==> Summary
🍺 /opt/homebrew/Cellar/passenger/6.0.23_1: 5,110 files, 201.1MB
==> Running `brew cleanup passenger`...
Removing: /opt/homebrew/Cellar/passenger/6.0.23... (5,110 files, 207.2MB)
==> Upgrading pyenv
2.4.10 -> 2.4.13
==> Pouring pyenv-2.4.13.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/pyenv/2.4.13: 1,232 files, 3.6MB
==> Running `brew cleanup pyenv`...
Removing: /opt/homebrew/Cellar/pyenv/2.4.10... (1,217 files, 3.5MB)
==> Upgrading ruby-build
20240727 -> 20240917
==> Pouring ruby-build-20240917.all.bottle.tar.gz
🍺 /opt/homebrew/Cellar/ruby-build/20240917: 625 files, 342.4KB
==> Running `brew cleanup ruby-build`...
Removing: /opt/homebrew/Cellar/ruby-build/20240727... (622 files, 338.5KB)
==> Upgrading ffmpeg
7.0.2 -> 7.0.2_1
==> Installing dependencies for ffmpeg: mbedtls, sdl2 and svt-av1
==> Installing ffmpeg dependency: mbedtls
==> Pouring mbedtls-3.6.1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/mbedtls/3.6.1: 200 files, 13.2MB
==> Installing ffmpeg dependency: sdl2
==> Pouring sdl2-2.30.7.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/sdl2/2.30.7: 94 files, 6.4MB
==> Installing ffmpeg dependency: svt-av1
==> Pouring svt-av1-2.2.1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/svt-av1/2.2.1: 19 files, 2.9MB
==> Installing ffmpeg
==> Pouring ffmpeg-7.0.2_1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/ffmpeg/7.0.2_1: 287 files, 51.6MB
==> Running `brew cleanup ffmpeg`...
Removing: /opt/homebrew/Cellar/ffmpeg/7.0.2... (287 files, 51.8MB)
==> Upgrading scrcpy
2.6.1 -> 2.7
==> Pouring scrcpy-2.7.arm64_sequoia.bottle.tar.gz
==> Caveats
At runtime, adb must be accessible from your PATH.

You can install adb from Homebrew Cask:
brew install --cask android-platform-tools
==> Summary
🍺 /opt/homebrew/Cellar/scrcpy/2.7: 11 files, 461.0KB
==> Running `brew cleanup scrcpy`...
Removing: /opt/homebrew/Cellar/scrcpy/2.6.1... (11 files, 471.8KB)
==> Upgrading certifi
2024.7.4 -> 2024.8.30
==> Pouring certifi-2024.8.30.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/certifi/2024.8.30: 27 files, 25.8KB
==> Running `brew cleanup certifi`...
Removing: /opt/homebrew/Cellar/certifi/2024.7.4... (27 files, 25.8KB)
==> Upgrading virtualenv
20.26.3 -> 20.26.5
==> Pouring virtualenv-20.26.5.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/virtualenv/20.26.5: 176 files, 7.3MB
==> Running `brew cleanup virtualenv`...
Removing: /opt/homebrew/Cellar/virtualenv/20.26.3... (176 files, 7.0MB)
==> Upgrading cocoapods
1.15.2 -> 1.15.2_1
==> Pouring cocoapods-1.15.2_1.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/cocoapods/1.15.2_1: 13,101 files, 22.5MB
==> Running `brew cleanup cocoapods`...
Removing: /opt/homebrew/Cellar/cocoapods/1.15.2... (13,735 files, 28.8MB)
==> Checking for dependents of upgraded formulae...
==> No broken dependents found!
==> Caveats
==> pipx
Bash completion has been installed to:
/opt/homebrew/etc/bash_completion.d
==> libxml2
libxml2 is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have libxml2 first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/libxml2/bin:$PATH"' >> /Users/achao/.bash_profile

For compilers to find libxml2 you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/libxml2/lib"
export CPPFLAGS="-I/opt/homebrew/opt/libxml2/include"

For pkg-config to find libxml2 you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/libxml2/lib/pkgconfig"
==> curl
curl is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have curl first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/curl/bin:$PATH"' >> /Users/achao/.bash_profile

For compilers to find curl you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/curl/lib"
export CPPFLAGS="-I/opt/homebrew/opt/curl/include"

For pkg-config to find curl you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/curl/lib/pkgconfig"
==> llvm
To use the bundled libc++ please add the following LDFLAGS:
LDFLAGS="-L/opt/homebrew/opt/llvm/lib/c++ -L/opt/homebrew/opt/llvm/lib -lunwind"

llvm is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have llvm first in your PATH, run:
echo 'export PATH="/opt/homebrew/opt/llvm/bin:$PATH"' >> /Users/achao/.bash_profile

For compilers to find llvm you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
==> lima
Bash completion has been installed to:
/opt/homebrew/etc/bash_completion.d
==> passenger
To activate Phusion Passenger for Nginx, run:
brew install nginx
And add the following to /opt/homebrew/etc/nginx/nginx.conf at the top scope (outside http{}):
load_module /opt/homebrew/opt/passenger/libexec/modules/ngx_http_passenger_module.so;
And add the following to /opt/homebrew/etc/nginx/nginx.conf in the http scope:
passenger_root /opt/homebrew/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini;
passenger_ruby /usr/bin/ruby;

To activate Phusion Passenger for Apache, create /etc/apache2/other/passenger.conf:
LoadModule passenger_module /opt/homebrew/opt/passenger/libexec/buildout/apache2/mod_passenger.so
PassengerRoot /opt/homebrew/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini
PassengerDefaultRuby /usr/bin/ruby
==> scrcpy
At runtime, adb must be accessible from your PATH.

You can install adb from Homebrew Cask:
brew install --cask android-platform-tools
Github-Id-VampireAchao:~ achao$ pipx ensurepath
Success! Added /Users/achao/.local/bin to the PATH environment variable.

Consider adding shell completions for pipx. Run 'pipx completions' for instructions.

You will need to open a new terminal or re-login for the PATH changes to take effect.
Alternatively, you can source your shell's config file with e.g. 'source ~/.bashrc'.

Otherwise pipx is ready to go! ✨ 🌟 ✨
Github-Id-VampireAchao:~ achao$ sudo pipx ensurepath --global
Password:
/usr/local/bin is already in PATH.

⚠️ All pipx binary directories have been appended to PATH. If you are sure you want to proceed,
try again with the '--force' flag.

Otherwise pipx is ready to go! ✨ 🌟 ✨
Github-Id-VampireAchao:~ achao$

我们演示一下使用

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
# 查看安装的python应用列表
Github-Id-VampireAchao:~ achao$ pipx list
nothing has been installed with pipx 😴
# 安装cowsay
Github-Id-VampireAchao:~ achao$ pipx install cowsay
installed package cowsay 6.1, installed using Python 3.12.6
These apps are now globally available
- cowsay
⚠️ Note: '/Users/achao/.local/bin' is not on your PATH environment variable. These apps will not
be globally accessible until your PATH is updated. Run `pipx ensurepath` to automatically add
it, or manually modify your PATH in your shell's config file (e.g. ~/.bashrc).
done! ✨ 🌟 ✨
# 查看列表
Github-Id-VampireAchao:~ achao$ pipx list
venvs are in /Users/achao/.local/pipx/venvs
apps are exposed on your $PATH at /Users/achao/.local/bin
manual pages are exposed at /Users/achao/.local/share/man
package cowsay 6.1, installed using Python 3.12.6
- cowsay
# 使用cowsay
Github-Id-VampireAchao:~ achao$ cowsay -t moooo
-bash: cowsay: command not found
# 刚安装,更新下环境变量
Github-Id-VampireAchao:~ achao$ source ~/.bash_profile
# 再次使用
Github-Id-VampireAchao:~ achao$ cowsay -t moooo
_____
| moooo |
=====
\
\
^__^
(oo)\_______
(__)\ )\/\
||----w |
|| ||
# 卸载cowsay
Github-Id-VampireAchao:~ achao$ pipx uninstall cowsay
uninstalled cowsay! ✨ 🌟 ✨
# 查看列表
Github-Id-VampireAchao:~ achao$ pipx list
nothing has been installed with pipx 😴
# 检查是否成功卸载
Github-Id-VampireAchao:~ achao$ cowsay -t moooo
-bash: /Users/achao/.local/bin/cowsay: No such file or directory
Github-Id-VampireAchao:~ achao$