Follow

The directory [...] or it's parent directory is not owned by the current user and the cache has been disabled.

Symptom

When starting an interactive session, kicking off a run, or building a custom compute environment, you may see the following message in the console output:

The directory '/home/ubuntu/.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.
The directory '/home/ubuntu/.cache/pip' 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.

Solution

While it is formatted as an error, this is simply a warning and will not interfere with your runs or interactive sessions.

Note: Using sudo's -H flag can cause errors, so don't add it to make the warning go away. 

This warning is scheduled to be silenced in future releases, and normally shows up when installing python packages using the requirements.txt file, or when building custom compute environments..

Additional Resources

If you think this is causing other errors in your project feel free to reach us at support@dominodatalab.com. For more details on installing packages, building customer compute environments, or troubleshooting other common issues, check out the links below:

Was this article helpful?
0 out of 0 found this helpful

Comments