# Beets cant edit config file

**URL:** <https://discourse.beets.io/t/beets-cant-edit-config-file/2113>\
**Category:** Help\
**Created:** [June 27, 2022, 11:49am UTC](https://discourse.beets.io/t/beets-cant-edit-config-file/2113 "2022-06-27T11:49:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![scupleture](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@scupleture](https://discourse.beets.io/u/scupleture)\
**Post date:** [June 27, 2022, 11:49am UTC](https://discourse.beets.io/t/beets-cant-edit-config-file/2113/1 "2022-06-27T11:49:32Z")

</div>

Hi there,

im new to beets and not that comfortable with the console enviroment.

After installing beets on my Windows10 Desktop i ran into some problems trying to configure the config-file.

```auto
C:\Users\bruno                                                          
λ beet config -p                                                        
C:\Users\bruno\AppData\Roaming\beets\config.yaml                        
                                                                        
C:\Users\bruno                                                          
λ beet config -e                                                        
error: Could not edit configuration: [Errno 2] No such file or directory

```

I’m a little confused why he cant edit it when he just told me where to find it.

I’ll appreciate any help.

kind regards

---

<div class="post-metadata">

**Author:** ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)\
**Post date:** [June 27, 2022, 12:12pm UTC](https://discourse.beets.io/t/beets-cant-edit-config-file/2113/2 "2022-06-27T12:12:48Z")

</div>

Hi! This is most likely just because beets is failing to open the text editor on your machine. You might try something like:

```auto
notepad.exe C:\Users\bruno\AppData\Roaming\beets\config.yaml

```

…or otherwise manually creating that file. (With apologies, I’m not a Windows user, so I’m not certain of the details!)

---

<div class="post-metadata">

**Author:** ![scupleture](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@scupleture](https://discourse.beets.io/u/scupleture)\
**Post date:** [June 27, 2022, 12:28pm UTC](https://discourse.beets.io/t/beets-cant-edit-config-file/2113/3 "2022-06-27T12:28:35Z")

</div>

> [@adrian](#):
>
> `notepad.exe C:\Users\bruno\AppData\Roaming\beets\config.yaml`

Thanks! That seemed to work.

When im trying to import all my music to my first directory im getting new Errors but i think ill open a new topic for that.

```auto
C:\Users\bruno
λ beet import B:\musicdump
error: database file B:\musiclibrary\library cannot not be opened: unable to open database file

```

I gave the library a new path in the config file. I moved the original database file to this new path so it’s actually there.
