|
@@ -0,0 +1,69 @@
|
|
|
+```
|
|
|
+➜ english-news-website-nextjs git:(ts) brew install python@3.10
|
|
|
+
|
|
|
+==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/python%403.10-3.10.6_2.arm64_monterey.bottle.tar.gz
|
|
|
+
|
|
|
+curl: (22) The requested URL returned error: 404
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+Warning: Bottle missing, falling back to the default domain...
|
|
|
+
|
|
|
+==> Downloading https://ghcr.io/v2/homebrew/core/python/3.10/manifests/3.10.6_2
|
|
|
+
|
|
|
+Already downloaded: /Users/sysadmin/Library/Caches/Homebrew/downloads/ec35c256efced4bfa1df5920d529d13bc0332f16ba26cf639d51239f14056920--python@3.10-3.10.6_2.bottle_manifest.json
|
|
|
+
|
|
|
+==> Downloading https://ghcr.io/v2/homebrew/core/python/3.10/blobs/sha256:6b294c48f986b1b011de46f22d11ad761ac60df2f07385558e3aa8b44f262e82
|
|
|
+
|
|
|
+Already downloaded: /Users/sysadmin/Library/Caches/Homebrew/downloads/0736cd2bad17643092e816237676544decc4dade4a993a0a627d8cb1791f2d3c--python@3.10--3.10.6_2.arm64_monterey.bottle.tar.gz
|
|
|
+
|
|
|
+==> Pouring python@3.10--3.10.6_2.arm64_monterey.bottle.tar.gz
|
|
|
+
|
|
|
+==> /opt/homebrew/Cellar/python@3.10/3.10.6_2/bin/python3.10 -m ensurepip
|
|
|
+
|
|
|
+==> /opt/homebrew/Cellar/python@3.10/3.10.6_2/bin/python3.10 -m pip install -v --no-deps --no-index --upgrade --isolated --target=/opt/homebrew/lib/python3.10/site-packages /opt/homebrew/Cellar/python@3.10/3.10.6_2
|
|
|
+
|
|
|
+==> Caveats
|
|
|
+
|
|
|
+Python has been installed as
|
|
|
+
|
|
|
+ /opt/homebrew/bin/python3
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
|
|
|
+
|
|
|
+`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
|
|
|
+
|
|
|
+ /opt/homebrew/opt/python@3.10/libexec/bin
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+You can install Python packages with
|
|
|
+
|
|
|
+ pip3 install <package>
|
|
|
+
|
|
|
+They will install into the site-package directory
|
|
|
+
|
|
|
+ /opt/homebrew/lib/python3.10/site-packages
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+tkinter is no longer included with this formula, but it is available separately:
|
|
|
+
|
|
|
+ brew install python-tk@3.10
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+See: https://docs.brew.sh/Homebrew-and-Python
|
|
|
+
|
|
|
+==> Summary
|
|
|
+
|
|
|
+🍺 /opt/homebrew/Cellar/python@3.10/3.10.6_2: 3,114 files, 57.3MB
|
|
|
+
|
|
|
+==> Running `brew cleanup python@3.10`...
|
|
|
+
|
|
|
+Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
|
|
|
+
|
|
|
+Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
|
|
|
+```
|