# Getting this error while trying to access Mistral model using Streamlit

**URL:** <https://discuss.huggingface.co/t/getting-this-error-while-trying-to-access-mistral-model-using-streamlit/166339>\
**Category:** Models\
**Created:** [August 10, 2025, 6:20pm UTC](https://discuss.huggingface.co/t/getting-this-error-while-trying-to-access-mistral-model-using-streamlit/166339 "2025-08-10T18:20:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sachinarsenal](https://avatars.discourse-cdn.com/v4/letter/s/e56c9b/32.png) [@sachinarsenal](https://discuss.huggingface.co/u/sachinarsenal)\
**Post date:** [August 10, 2025, 6:20pm UTC](https://discuss.huggingface.co/t/getting-this-error-while-trying-to-access-mistral-model-using-streamlit/166339/1 "2025-08-10T18:20:25Z")

</div>

OSError: PermissionError at /home/user when downloading mistralai/Mistral-7B-Instruct-v0.3. Check cache directory permissions. Common causes: 1) another user is downloading the same model (please wait); 2) a previous download was canceled and the lock file needs manual removal.

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [August 11, 2025, 12:19am UTC](https://discuss.huggingface.co/t/getting-this-error-while-trying-to-access-mistral-model-using-streamlit/166339/2 "2025-08-11T00:19:25Z")

</div>

In the current Spaces, [users cannot access directories that start with `.`](https://discuss.huggingface.co/t/permissions-of-cache-directories/49990), so I wonder this may be an error related to that.

- [Environment variables](https://huggingface.co/docs/huggingface_hub/package_reference/environment_variables)
- [Unable to acquire file lock in some situations](https://github.com/huggingface/huggingface_hub/issues/1423)
