# Dvc init gives error

**URL:** <https://discuss.dvc.org/t/dvc-init-gives-error/2041>\
**Category:** Questions\
**Created:** [April 15, 2024, 12:53am UTC](https://discuss.dvc.org/t/dvc-init-gives-error/2041 "2024-04-15T00:53:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aliaga](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@Aliaga](https://discuss.dvc.org/u/Aliaga)\
**Post date:** [April 15, 2024, 12:53am UTC](https://discuss.dvc.org/t/dvc-init-gives-error/2041/1 "2024-04-15T00:53:10Z")

</div>

I am trying dvc in a tutorial from dagshub  
The moment I give dvc init I get the error

```auto

ERROR: Unexpected error: cannot import name 'umask' from 'dvc_objects.fs.system'

```

I googled it but could not find anything useful

What can this mean and how can I solve it?

---

<div class="post-metadata">

**Author:** ![Aliaga](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@Aliaga](https://discuss.dvc.org/u/Aliaga)\
**Post date:** [April 15, 2024, 6:44am UTC](https://discuss.dvc.org/t/dvc-init-gives-error/2041/2 "2024-04-15T06:44:35Z")

</div>

Turns out I had to do `pip install --upgrade dvc`
