Traceback (most recent call last):


 "/usr/local/bin/beet", line 11, in <module>

sys.exit(main())


 "/usr/local/lib/python3.7/site-packages/beets/ui/__init__.py", line 1256, in main

_raw_main(args)


 "/usr/local/lib/python3.7/site-packages/beets/ui/__init__.py", line 1243, in _raw_main

subcommand.func(lib, suboptions, subargs)


 "/usr/local/lib/python3.7/site-packages/beets/ui/commands.py", line 943, in import_func

import_files(lib, paths, query)


 "/usr/local/lib/python3.7/site-packages/beets/ui/commands.py", line 913, in import_files

session.run()


 "/usr/local/lib/python3.7/site-packages/beets/importer.py", line 329, in run

pl.run_parallel(QUEUE_SIZE)


 "/usr/local/lib/python3.7/site-packages/beets/util/pipeline.py", line 445, in run_parallel

six.reraise(exc_info[0], exc_info[1], exc_info[2])


 "/usr/local/lib/python3.7/site-packages/six.py", line 693, in reraise

raise value


 "/usr/local/lib/python3.7/site-packages/beets/util/pipeline.py", line 312, in run

out = self.coro.send(msg)


 "/usr/local/lib/python3.7/site-packages/beets/util/pipeline.py", line 194, in coro

func(*(args + (task,)))


 "/usr/local/lib/python3.7/site-packages/beets/importer.py", line 1351, in lookup_candidates

task.lookup_candidates()


 "/usr/local/lib/python3.7/site-packages/beets/importer.py", line 641, in lookup_candidates

autotag.tag_album(self.items, search_ids=self.search_ids)


 "/usr/local/lib/python3.7/site-packages/beets/autotag/match.py", line 461, in tag_album

_add_candidate(items, candidates, matched_candidate)


 "/usr/local/lib/python3.7/site-packages/beets/autotag/match.py", line 377, in _add_candidate

dist = distance(items, info, mapping)


 "/usr/local/lib/python3.7/site-packages/beets/autotag/match.py", line 191, in distance

dist.add_equality('media', album_info.media, likelies['media'])


 "/usr/local/lib/python3.7/site-packages/beets/autotag/hooks.py", line 461, in add_equality

if self._eq(opt, value):


 "/usr/local/lib/python3.7/site-packages/beets/autotag/hooks.py", line 436, in _eq

if isinstance(value1, re._pattern_type):
AttributeError: module 're' has no attribute '_pattern_type'

Traceback (most recent call last):


 "correct_txt.py", line 25, in <module>

main(inputfile,outfile)


 "correct_txt.py", line 15, in main

pycorrector.enable_char_error(enable=False)
AttributeError: module 'pycorrector' has no attribute 'enable_char_error'
