Previous one does not work with newer Firefox versions
That's a Python bug: http://bugs.python.org/issue28334 Most likely it will be fixed in Python 3.7: https://github.com/python/cpython/pull/123
Hi, it's not always a default behaviour, but when you use `sudo pip` you most likely may want to use `-H` flag to set HOME value to directory of the target user :)