Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission error in the cache directory. #240

Closed
dakomura opened this issue Mar 15, 2024 · 1 comment
Closed

Permission error in the cache directory. #240

dakomura opened this issue Mar 15, 2024 · 1 comment

Comments

@dakomura
Copy link

Hi,
Because $HOME is not writeable in my environment,

mim install mmengine

returns Permission Error.

PermissionError: [Errno 13] Permission denied: '/pjmhome/.cache'

How can I change the cache directory?

Thank you.

@dakomura
Copy link
Author

It was resolved by changing DEFAULT_CACHE_DIR and installing from source using pip.
https://github.com/open-mmlab/mim/blob/main/mim/utils/default.py#L54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant