# IOError: stat: operation not permitted when import new package

**URL:** <https://discourse.julialang.org/t/ioerror-stat-operation-not-permitted-when-import-new-package/47425>\
**Category:** General Usage\
**Created:** [September 28, 2020, 5:44pm UTC](https://discourse.julialang.org/t/ioerror-stat-operation-not-permitted-when-import-new-package/47425 "2020-09-28T17:44:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![byteb](https://avatars.discourse-cdn.com/v4/letter/b/dfb087/32.png) [@byteb](https://discourse.julialang.org/u/byteb)\
**Post date:** [September 28, 2020, 5:44pm UTC](https://discourse.julialang.org/t/ioerror-stat-operation-not-permitted-when-import-new-package/47425/1 "2020-09-28T17:44:20Z")

</div>

I have a Windows VM with two users:

- Administrator access
- Local user account (non-admin) access

I have Julia installed in this Windows VM under the C:\Julia folder. The Administrator use can install package and import them successfully. However, when I log in using the Local user (non-admin) and run: **import Distributions** (one of the packages that I use) I get the following error:

 ![juliaerror](https://global.discourse-cdn.com/julialang/original/3X/6/2/62b2fdf1442f991b9847c61249682a197bffe8a5.png)

I have also cloned and changed the JULIA\_DEPOT\_PATH variable to point to a folder in the local user’s home directory but that doesn’t help either.

Any ideas?

---

<div class="post-metadata">

**Author:** ![byteb](https://avatars.discourse-cdn.com/v4/letter/b/dfb087/32.png) [@byteb](https://discourse.julialang.org/u/byteb)\
**Post date:** [September 29, 2020, 7:45am UTC](https://discourse.julialang.org/t/ioerror-stat-operation-not-permitted-when-import-new-package/47425/2 "2020-09-29T07:45:28Z")

</div>

> [@byteb](#):
>
> I have a Windows VM with two users:

Never mind fixed by installing the latest version of Julia 1.5.2 in the local user’s home directory and install the packages from there.
