8
วัตถุประสงค์ของ“ pip install --user …” คืออะไร?
จากpip install --help: --user Install to the Python user install directory for your platform. Typically ~/.local/, or %APPDATA%\Python on Windows. (See the Python documentation for site.USER_BASE for full details.) เอกสารสำหรับเว็บไซต์ USER_BASE เป็นหนอนที่น่ากลัวที่น่าสนใจ * ห้ามเรื่องที่ฉันไม่เข้าใจ --userภาษาอังกฤษธรรมดามีจุดประสงค์อะไร? ทำไมการรวมแพคเกจถึง~/.local/สำคัญ? ทำไมไม่เพียงเอาไฟล์ปฏิบัติการมาไว้ที่ $ PATH ของฉันล่ะ