You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just trying to open Spyder and change the default directory
Traceback
File "/home/javier/PROGRAMACION/anaconda3/envs/MUSICNN/lib/python3.8/site-packages/pylsp_jsonrpc/endpoint.py", line 117, in consumeself._handle_request(message['id'], message['method'], message.get('params'))
File "/home/javier/PROGRAMACION/anaconda3/envs/MUSICNN/lib/python3.8/site-packages/pylsp_jsonrpc/endpoint.py", line 197, in _handle_request
handler_result = handler(params)
File "/home/javier/PROGRAMACION/anaconda3/envs/MUSICNN/lib/python3.8/site-packages/pylsp_jsonrpc/dispatchers.py", line 25, in handlerreturn method(**(params or {}))
File "/home/javier/PROGRAMACION/anaconda3/envs/MUSICNN/lib/python3.8/site-packages/pylsp/python_lsp.py", line 210, in m_initializeself.config = config.Config(rootUri, initializationOptions or {},
File "/home/javier/PROGRAMACION/anaconda3/envs/MUSICNN/lib/python3.8/site-packages/pylsp/config/config.py", line 52, in __init__
entry_point.load()
File "/home/javier/PROGRAMACION/anaconda3/envs/MUSICNN/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2517, in loadself.require(*args, **kwargs)
File "/home/javier/PROGRAMACION/anaconda3/envs/MUSICNN/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2540, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
File "/home/javier/PROGRAMACION/anaconda3/envs/MUSICNN/lib/python3.8/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist =self._resolve_dist(
File "/home/javier/PROGRAMACION/anaconda3/envs/MUSICNN/lib/python3.8/site-packages/pkg_resources/__init__.py", line 875, in _resolve_distraise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (typing-extensions 3.7.4 (/home/javier/PROGRAMACION/anaconda3/envs/MUSICNN/lib/python3.8/site-packages), Requirement.parse('typing-extensions>=4.0.1; python_version < "3.11"'), {'black'}
Hey @javierdelpino, thanks for reporting. It seems your MUSICNN is broken. One option to fix it is for you to close Spyder, open the Anaconda Prompt and run the following commands there:
That should work as long you haven't installed packages with pip in that env because conda can't easily deal with that situation. If that was the case, then I'm afraid you'll have to recreate your environment to fix this error.
Description
What steps will reproduce the problem?
Just trying to open Spyder and change the default directory
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: