Warning when installing v7

When installing v7, after
2016-12-18 17:54:08 (1.78 MB/s) - ‘get-pip.py’ saved [1595408/1595408]

I get this yellow warning:
The directory ‘/home/cami/.cache/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.

I change the owner of /home to the local user that starts the installation but still this warning appears, on both Ubuntu 14 and 16.
Could you please tell me if this is something to consider or just to ignore?

Thanks a lot!

I think you need to set the permissions for /home/cami/.cache/pip directory.

Are you able to bench start after the installation?

Yes netchampfaris,

It is a production setup, working on VM.
/home/cami/.cache/pip doesn’t exist but
/home/frappe/.cache/pip

Despite it the system is working but I have the same warning in other systems trying to migrate a DB. May it not be so relevant…

Well, the answer was in the warning: If executing pip with sudo, you may want sudo’s -H flag.

I just startet the ERPNext installation script with sudo -H and the warning was away!! This time i hope the migration will succeed. Thank you netchampfaris anyways.