So, I'm new to Linux. I've been installing programs on VirtualBox. I was able to install youtube_dl using: sudo pip install --upgrade youtube_dl. However, I got this error:

The directory '/home/john/.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 don't know what this means. Can someone point me in the right direction. Thanks


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.