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/”, line 162, in _run_module_as_main
main”, fname, loader, pkg_name)
File “/usr/lib/python2.7/”, line 72, in _run_code
exec code in run_globals
File “/home/clyde/frappe-bench/apps/frappe/frappe/utils/”, line 94, in
File “/home/clyde/frappe-bench/apps/frappe/frappe/utils/”, line 18, in main
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 716, in call
return self.main(*args, **kwargs)
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 696, in main
rv = self.invoke(ctx)
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/click/”, 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/”, 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/”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 534, in invoke
return callback(*args, **kwargs)
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/click/”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “/home/clyde/frappe-bench/apps/frappe/frappe/commands/”, line 24, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/home/clyde/frappe-bench/apps/frappe/frappe/commands/”, line 215, in migrate
from frappe.migrate import migrate
File “/home/clyde/frappe-bench/apps/frappe/frappe/”, line 17, in
File “/home/clyde/frappe-bench/apps/frappe/frappe/utils/”, line 14, in
from bs4 import BeautifulSoup
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/bs4/”, line 30, in
from .builder import builder_registry, ParserRejectedMarkup
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/bs4/builder/”, line 314, in
from . import _html5lib
File “/home/clyde/frappe-bench/env/local/lib/python2.7/site-packages/bs4/builder/”, 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.