После выполнения этого
sudo apt upgrade
я получаю это сообщение об ошибке.
[EnableNBExtensionApp] CRITICAL | Bad config encountered during initialization:
[EnableNBExtensionApp] CRITICAL | Unrecognized flag: '--sys-prefix'
dpkg: error processing package jupyter-nbextension-jupyter-js-widgets (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
jupyter-nbextension-jupyter-js-widgets
E: Sub-process /usr/bin/dpkg returned an error code (1)
Я новый пользователь Ubuntu. Я серьезно не знаю, как это произошло. Пожалуйста, не уменьшайте это. Это не дубликат, любое из предыдущих решений на этом сайте не было полезным. Я также googled сообщение об ошибке, но решения не помогли.