pypa/pip — Issue #381: Do not use $PWD in installation proccess
Author: turicas
Created: 2011-11-05 00:31:33+00:00
State: open

Please see this gist:
https://gist.github.com/1340858

When I __don't__ use the `-i` option of `sudo`, I receive an error because pip installation process is trying to write in `/root` (pwd).

So, __the problem is__: `pip` is trying to write something to `pwd` assuming that it is writable. `pip` should not assume it and use `/tmp`, `$HOME` or something like that.

Note: thanks to @wraithan helping me find the problem (I was trying to create a `virtualenv` using [fabric](http://fabfile.org/) when this problem appeared).