What is the -H flag for pip?

The -H flag is actually for the sudo command and not for pip. As taken from the docs

The -H (HOME) option requests that the security policy set the HOME environment variable to the home directory of the target user (root by default) as specified by the password database. Depending on the policy, this may be the default behavior.

A look at this question might provide more insight into what could be happening.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)