Python - jakestanley/dotfiles GitHub Wiki

Packages

  • awscli
  • awsebcli
  • boto3
  • dbus-python
  • nvpy

Mopidy

Requires Mopidy, available in regular repositories

Obtaining the Python package manager 'pip'

I think I've set up python/pip incorrectly every time I've done it until now, so I'm going to try and document what I consider the right way to do it. You should do this when logged in as your day to day user.

  • Download get-pip.py: wget https://bootstrap.pypa.io/get-pip.py
  • python get-pip.py --user (the user part is very important)
  • Use python -m pip install -U <package> --user to install/upgrade packages.
  • Add $HOME/.local/bin to your path variable

Fuck this, I just want to delete my user environment and start again

trash ~/.local/lib/python-3.6
trash ~/.local/bin

Then repeat the steps in the previous section to install a fresh environment.

⚠️ **GitHub.com Fallback** ⚠️