# Please help newbee get started - Bash shell on Windows

**URL:** https://discourse.beets.io/t/please-help-newbee-get-started-bash-shell-on-windows/606
**Category:** Help
**Created:** [January 31, 2019, 12:19pm UTC](https://discourse.beets.io/t/please-help-newbee-get-started-bash-shell-on-windows/606 "2019-01-31T12:19:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![johnp](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/johnp/32/200_2.png) [@johnp](https://discourse.beets.io/u/johnp)
#### Post date: [January 31, 2019, 12:19pm UTC](https://discourse.beets.io/t/please-help-newbee-get-started-bash-shell-on-windows/606/1 "2019-01-31T12:19:30Z")

</div>

I installed beets/Python on Windows. Installation seemed to go fine. Running in a Windows Cmd window displays a lot of garbage characters, so I am trying to run beets now in a Bash shell.  
“beet --version” displays:

```
    beets version 1.4.7
    Python version 3.7.2
   plugins: fetchart 

```

My config is:

```
    directory: D:/tmp/MUSIC
    library: D:/tmp/MUSIC/musiclibrary.db
    import:
        copy: no
        log: beetslog.txt
    art_filename: cover
    plugins: fetchart

```

I put some sample music in D:/tmp/MUSIC  
When I run: "beet import “/d/tmp/MUSIC” in the Bash shell, I get a Traceback displayed (see below).  
If I run it in a Windows CMD, it appears to start working and correcting tags, but it displays too many garbage characters.

**UPDATE** : I installed ComEmu and it works now in it’s terminal window. I would still be interested in knowing why it doesn’t work in Bash and what the Traceback below means.

Traceback:  
Traceback (most recent call last):  
File “C:\Users\johnp\AppData\Local\Programs\Python\Python37-32\Scripts\beet-script.py”, line 11, in   
load\_entry\_point(‘beets==1.4.7’, ‘console\_scripts’, ‘beet’)()  
File “c:\users\johnp\appdata\local\programs\python\python37-32\lib\site-packages\beets\ui\__init_\_.py”, line 1256, in main  
_raw\_main(args)  
File "c:\users\johnp\appdata\local\programs\python\python37-32\lib\site-packages\beets\ui\_init_.py", line 1243, in \_raw\_main  
subcommand.func(lib, suboptions, subargs)  
File “c:\users\johnp\appdata\local\programs\python\python37-32\lib\site-packages\beets\ui\commands.py”, line 943, in import\_func  
import\_files(lib, paths, query)  
File “c:\users\johnp\appdata\local\programs\python\python37-32\lib\site-packages\beets\ui\commands.py”, line 913, in import\_files  
session.run()  
File “c:\users\johnp\appdata\local\programs\python\python37-32\lib\site-packages\beets\importer.py”, line 329, in run  
pl.run\_parallel(QUEUE\_SIZE)  
File “c:\users\johnp\appdata\local\programs\python\python37-32\lib\site-packages\beets\util\pipeline.py”, line 445, in run\_parallel  
six.reraise(exc\_info[0], exc\_info[1], exc\_info[2])  
File “c:\users\johnp\appdata\local\programs\python\python37-32\lib\site-packages\six.py”, line 693, in reraise  
raise value  
File “c:\users\johnp\appdata\local\programs\python\python37-32\lib\site-packages\beets\util\pipeline.py”, line 312, in run  
out = self.coro.send(msg)  
File “c:\users\johnp\appdata\local\programs\python\python37-32\lib\site-packages\beets\util\pipeline.py”, line 194, in coro  
func(\*(args + (task,)))  
File “c:\users\johnp\appdata\local\programs\python\python37-32\lib\site-packages\beets\importer.py”, line 1351, in lookup\_candidates  
task.lookup\_candidates()  
File “c:\users\johnp\appdata\local\programs\python\python37-32\lib\site-packages\beets\importer.py”, line 641, in lookup\_candidates  
autotag.tag\_album(self.items, search\_ids=self.search\_ids)  
File “c:\users\johnp\appdata\local\programs\python\python37-32\lib\site-packages\beets\autotag\match.py”, line 432, in tag\_album  
\_add\_candidate(items, candidates, id\_info)  
File “c:\users\johnp\appdata\local\programs\python\python37-32\lib\site-packages\beets\autotag\match.py”, line 377, in \_add\_candidate  
dist = distance(items, info, mapping)  
File “c:\users\johnp\appdata\local\programs\python\python37-32\lib\site-packages\beets\autotag\match.py”, line 246, in distance  
album\_info.album\_id)  
File “c:\users\johnp\appdata\local\programs\python\python37-32\lib\site-packages\beets\autotag\hooks.py”, line 461, in add\_equality  
if self.\_eq(opt, value):  
File “c:\users\johnp\appdata\local\programs\python\python37-32\lib\site-packages\beets\autotag\hooks.py”, line 436, in \_eq  
if isinstance(value1, re.\_pattern\_type):  
AttributeError: module ‘re’ has no attribute ‘\_pattern\_type’

---

<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: [January 31, 2019, 3:04pm UTC](https://discourse.beets.io/t/please-help-newbee-get-started-bash-shell-on-windows/606/2 "2019-01-31T15:04:32Z")

</div>

Hi! We have an unreleased fix for this—if you can, please run from source (there are instructions in the FAQ) until the new version is out (which will, hopefully, be very soon).

---

<div class="post-metadata">

### Author: ![johnp](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/johnp/32/200_2.png) [@johnp](https://discourse.beets.io/u/johnp)
#### Post date: [February 1, 2019, 10:11pm UTC](https://discourse.beets.io/t/please-help-newbee-get-started-bash-shell-on-windows/606/3 "2019-02-01T22:11:52Z")

</div>

Thanks adrian! This appears to be working OK now. Since I’m a newbee, I still need to learn HOW to use beets. But at least it is not giving a Traceback nor displaying garbage characters in Bash.
