Skip to content

Instantly share code, notes, and snippets.

@devlights
Created June 19, 2018 05:07
Show Gist options
  • Save devlights/ef7f6d1d963ca0b44b7745d26cf3e7cf to your computer and use it in GitHub Desktop.
Save devlights/ef7f6d1d963ca0b44b7745d26cf3e7cf to your computer and use it in GitHub Desktop.
[python] pip メモ

自分の環境用にパッケージをインストール

デフォルトでは グローバルな環境 にインストールされる。

自分用にインストールする場合は

$ pip install --user lxml

とする。以下の場所にインストールされる。

~/.local/lib/pythonX.X/site-packages/

ユーザインストールを行ったパッケージのみを表示

$ pip freeze --user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment