# IOError? how to do?

**URL:** <https://discourse.julialang.org/t/ioerror-how-to-do/16775>\
**Category:** New to Julia\
**Created:** [October 25, 2018, 4:49am UTC](https://discourse.julialang.org/t/ioerror-how-to-do/16775 "2018-10-25T04:49:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomtom](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomtom/32/5106_2.png) [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Post date:** [October 25, 2018, 4:49am UTC](https://discourse.julialang.org/t/ioerror-how-to-do/16775/1 "2018-10-25T04:49:12Z")

</div>

I got the following error when doing `using` (the needs re-compilation) or even `pwd()`, what could I do?

```julia
julia> pwd()
ERROR: IOError: getcwd: no such file or directory (ENOENT)
Stacktrace:
 [1] uv_error at ./libuv.jl:85 [inlined]
 [2] uv_error at ./libuv.jl:84 [inlined]
 [3] pwd() at ./file.jl:53
 [4] top-level scope at none:0

```

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [October 25, 2018, 5:04am UTC](https://discourse.julialang.org/t/ioerror-how-to-do/16775/2 "2018-10-25T05:04:53Z")

</div>

It looks like you’re calling this in a directory that has been deleted.
