Bench update error with this week update

Hello all

I can no more acces to my erpnext after an do an bench update with the following error

really dont know how to fix this issue, is already more than one year I update n the same way this VM witout problem.

thx in advance for your help

Traceback (most recent call last):
File “/usr/lib/python2.7/runpy.py”, line 162, in _run_module_as_main
main”, fname, loader, pkg_name)
File “/usr/lib/python2.7/runpy.py”, line 72, in _run_code
exec code in run_globals
File “/home/clyde/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 94, in
main()
File “/home/clyde/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 18, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 716, in call
return self.main(*args, **kwargs)
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 696, in main
rv = self.invoke(ctx)
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 534, in invoke
return callback(*args, **kwargs)
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/click/decorators.py”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “/home/clyde/frappe-bench/apps/frappe/frappe/commands/init.py”, line 24, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/home/clyde/frappe-bench/apps/frappe/frappe/commands/site.py”, line 215, in migrate
from frappe.migrate import migrate
File “/home/clyde/frappe-bench/apps/frappe/frappe/migrate.py”, line 17, in
import frappe.utils.help
File “/home/clyde/frappe-bench/apps/frappe/frappe/utils/help.py”, line 14, in
from bs4 import BeautifulSoup
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/bs4/init.py”, line 30, in
from .builder import builder_registry, ParserRejectedMarkup
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/bs4/builder/init.py”, line 314, in
from . import _html5lib
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/bs4/builder/_html5lib.py”, line 70, in
class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
AttributeError: ‘module’ object has no attribute ‘_base’

Have you installed/added any custom apps?
If you have, perhaps remove them, update, and then add them back

Thx Trentmu,
I remove costum apps by
bench --site site1.local uninstall-app switzerland
remove folder
rm -R switzerland
then i remove apps name
nano apps.txt

I still have an error

Same error here when trying bench update

Same here

A similar error was fixed here

Seems to be fixed in v10.1.63 - upgrade was successful now.