On Mon, May 29, 2023 at 09:51:48AM -0700, Brian Vaughan wrote: > Thank you for the clear instructions. I appreciate it.
Thanks Brian! > The complete output is here: > > https://www.geany.org/p/TQ2R2/ Though for some reason this gives a 404 Not Found error. But it doesn't matter, as I think the snippet quoted below is enough. > I believe this is the relevant part: > > 2023-05-29 09:28:09,387 [DEBUG] [spyder.dependencies] -> Dependency(pylsp, > pytho > n_lsp_server) starting > 2023-05-29 09:28:09,387 [DEBUG] [spyder.dependencies] -> Dependency: > get_module_version returned 1.7.1 for pylsp > 2023-05-29 09:28:09,387 [DEBUG] [spyder.dependencies] -> > Dependency(pylsp_black, python_lsp_black) starting > 2023-05-29 09:28:09,471 [DEBUG] [spyder.dependencies] -> Dependency: > exception raised: Invalid version: 'v0.9.4.4-ds-git20221205-12a9702d29ab' > 2023-05-29 09:28:09,471 [DEBUG] [spyder.dependencies] -> Dependency: when > exception raised: sys.path = ['', > '/usr/lib/python3/dist-packages/spyder/plugins/help/utils', '/usr/bin', > '/usr/lib/python311.zip', '/usr/lib/python3.11', > '/usr/lib/python3.11/lib-dynload', > '/usr/local/lib/python3.11/dist-packages', '/usr/lib/python3/dist-packages', > '/usr/lib/python3.11/dist-packages'] OK, this is strange. pkg_resources is picking up an old or broken version of python_lsp_black-*.egg-info. Could you try ls -R /usr/local/lib/python3.11/dist-packages/python_lsp_black* ls -R /usr/local/lib/python3.11/dist-packages/pylsp_black* ls -R /usr/lib/python3/dist-packages/python_lsp_black* ls -R /usr/lib/python3/dist-packages/pylsp_black* ls -R /usr/lib/python3.11/dist-packages/python_lsp_black* ls -R /usr/lib/python3.11/dist-packages/pylsp_black* One of these pairs of commands is likely to identify the culprit! Best wishes, Julian