024第12章 A SHIP THAT FIRES BULLETS_續1_pip
💛20230124晨讀感言:
💔今天 看到 這個 command 指令 python3 -m pip install — user pygame ,才發覺 我將 pip 當作一個 獨立的 command 指令 是一個錯誤的觀念,這個 [pip 的正確解讀](https://pip.pypa.io/en/stable/index.html)是:pip is the [package installer for Python](https://packaging.python.org/guides/tool-recommendations/). You can use it to install packages from the [Python Package Index](https://pypi.org/) and other indexes.
💔在安裝 pygame 的過程中,我也發現 pip 版本 的更新指令 如下:/Library/Frameworks/Python.framework/Versions/3.10/bin/python3 -m pip install — upgrade pip 。
💔如果,你之前已安裝過 pygame ,那麼 當你再次在 termanal 下達 安裝指令後,你會得到一個訊息:Requirement already satisfied: pygame in ./Library/Python/3.10/lib/python/site-packages (2.1.2) 。
💛晨讀摘要:
💚228 This command tells Python to run the pip module and install the pygame package to the current user’s Python installation.
from:《 python crash course》
Like my work? Don't forget to support and clap, let me know that you are with me on the road of creation. Keep this enthusiasm together!
- Author
- More